Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008917/0.0008917, allocations: 101.8 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 178.6 kB / 16.58 MB, free: 6.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.582/2.582, allocations: 390.5 MB / 0.6662 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.000375, allocations: 12 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9175/0.9179, allocations: 142.3 MB / 0.9544 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002464/0.9204, allocations: 1.451 MB / 0.9558 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001883/0.9223, allocations: 1.013 MB / 0.9568 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.9225, allocations: 9 kB / 0.9568 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.9229, allocations: 53.14 kB / 0.9569 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.9232, allocations: 56.72 kB / 0.9569 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007964/0.924, allocations: 188.7 kB / 0.9571 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.9243, allocations: 126.5 kB / 0.9572 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.9244, allocations: 23 kB / 0.9572 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.9246, allocations: 55.38 kB / 0.9573 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.9247, allocations: 46.25 kB / 0.9573 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.9248, allocations: 2.75 kB / 0.9573 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.925, allocations: 55.95 kB / 0.9574 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.091e-05/0.9251, allocations: 30.72 kB / 0.9574 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.9251, allocations: 52.36 kB / 0.9575 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.9255, allocations: 153.8 kB / 0.9576 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.9255, allocations: 0 / 0.9576 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9255, allocations: 4 kB / 0.9576 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.9255, allocations: 1.375 kB / 0.9576 GB, free: 5.641 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007456/0.9263, allocations: 466.9 kB / 0.9581 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.9263, allocations: 9.062 kB / 0.9581 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.452e-05/0.9264, allocations: 19.8 kB / 0.9581 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.9268, allocations: 241.8 kB / 0.9583 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.9268, allocations: 2.562 kB / 0.9583 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.9268, allocations: 6.734 kB / 0.9583 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.9271, allocations: 99.83 kB / 0.9584 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.9271, allocations: 0 / 0.9584 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.9271, allocations: 1.219 kB / 0.9584 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.9271, allocations: 6.078 kB / 0.9584 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.9272, allocations: 37.91 kB / 0.9585 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.9278, allocations: 352.1 kB / 0.9588 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.928, allocations: 86.2 kB / 0.9589 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.616e-05/0.9281, allocations: 34.03 kB / 0.9589 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.9281, allocations: 9.266 kB / 0.9589 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.9284, allocations: 83.11 kB / 0.959 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.973e-06/0.9284, allocations: 1.188 kB / 0.959 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003928/0.9288, allocations: 137.8 kB / 0.9592 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.9289, allocations: 108.8 kB / 0.9593 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.9292, allocations: 267.1 kB / 0.9595 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.9292, allocations: 26.83 kB / 0.9595 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.9293, allocations: 123.8 kB / 0.9597 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.9293, allocations: 15.22 kB / 0.9597 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.9293, allocations: 9.078 kB / 0.9597 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.76e-05/0.9294, allocations: 332.1 kB / 0.96 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.87e-05/0.9295, allocations: 25.23 kB / 0.96 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.31e-05/0.9296, allocations: 65.19 kB / 0.9601 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.818e-05/0.9297, allocations: 32.2 kB / 0.9601 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.9297, allocations: 0 / 0.9601 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002304/0.9299, allocations: 116.5 kB / 0.9602 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.9299, allocations: 8.109 kB / 0.9602 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.9299, allocations: 1.906 kB / 0.9602 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.93, allocations: 0 / 0.9602 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.722e-05/0.9301, allocations: 15.2 kB / 0.9602 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.9301, allocations: 0 / 0.9602 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/0.9302, allocations: 7.938 kB / 0.9603 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.9302, allocations: 4.031 kB / 0.9603 GB, free: 3.227 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.9303, allocations: 145.1 kB / 0.9604 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.9304, allocations: 18.64 kB / 0.9604 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.933e-05/0.9304, allocations: 21.05 kB / 0.9604 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.9305, allocations: 1.469 kB / 0.9604 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.9305, allocations: 1.406 kB / 0.9604 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.9305, allocations: 7.984 kB / 0.9604 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.9307, allocations: 229.7 kB / 0.9607 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.9307, allocations: 1.344 kB / 0.9607 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.9307, allocations: 4.594 kB / 0.9607 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.9307, allocations: 0 / 0.9607 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.9308, allocations: 6.375 kB / 0.9607 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.9308, allocations: 4.141 kB / 0.9607 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.9308, allocations: 0 / 0.9607 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.931, allocations: 143.2 kB / 0.9608 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.9311, allocations: 99.78 kB / 0.9609 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.9311, allocations: 1.375 kB / 0.9609 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.661e-05/0.9312, allocations: 6.75 kB / 0.9609 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.9313, allocations: 16.06 kB / 0.9609 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.9313, allocations: 2.75 kB / 0.9609 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001887/0.9315, allocations: 202.3 kB / 0.9611 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9315, allocations: 0 / 0.9611 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002881/0.9318, allocations: 30.12 kB / 0.9612 GB, free: 2.438 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001077/0.9329, allocations: 432.5 kB / 0.9616 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.9331, allocations: 78.33 kB / 0.9616 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.9331, allocations: 1.375 kB / 0.9616 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.09e-05/0.9332, allocations: 35.22 kB / 0.9617 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.9335, allocations: 30.59 kB / 0.9617 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006456/0.9342, allocations: 344.1 kB / 0.962 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.9344, allocations: 0.7221 MB / 0.9627 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.9345, allocations: 25.48 kB / 0.9628 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of SimCode: time 6.71e-07/0.9345, allocations: 4 kB / 0.9628 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of Templates: time 0.006981/0.9415, allocations: 2.568 MB / 0.9653 GB, free: 15.85 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.o] Error 1