Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.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/FastBuildings master/package.mo", uses=false) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 104.1 kB / 15.88 MB, free: 4 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.00222/0.00222, allocations: 198.4 kB / 16.79 MB, free: 6.832 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.424/1.424, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1973/0.1973, allocations: 4.625 MB / 295.2 MB, free: 3.148 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001225, allocations: 55.91 kB / 356.5 MB, free: 3.043 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1161, allocations: 50.51 MB / 407 MB, free: 500 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005366/0.1215, allocations: 4.204 MB / 411.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1234, allocations: 0.8881 MB / 412.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.1236, allocations: 11.94 kB / 412.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.1238, allocations: 59.53 kB / 412.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.1241, allocations: 138.9 kB / 412.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.1245, allocations: 155.8 kB / 412.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006901/0.1252, allocations: 0.6972 MB / 413.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006751/0.1259, allocations: 465.9 kB / 413.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.1262, allocations: 235.2 kB / 413.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.1265, allocations: 274.7 kB / 414.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.615e-05/0.1266, allocations: 44 kB / 414.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.751e-05/0.1266, allocations: 48 kB / 414.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1268, allocations: 119.5 kB / 414.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002778/0.1271, allocations: 298.6 kB / 414.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005764/0.1276, allocations: 0.6747 MB / 415.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1277, allocations: 3.938 kB / 415.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1277, allocations: 0 / 415.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1277, allocations: 0 / 415.3 MB, free: 8.16 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001719/0.1294, allocations: 0.898 MB / 416.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1294, allocations: 8.031 kB / 416.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.1296, allocations: 64.19 kB / 416.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.13, allocations: 379.2 kB / 416.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.1301, allocations: 33.38 kB / 416.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-05/0.1302, allocations: 48.38 kB / 416.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.1312, allocations: 0.589 MB / 417.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1312, allocations: 4 kB / 417.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.871e-05/0.1313, allocations: 23.98 kB / 417.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.1313, allocations: 12 kB / 417.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009268/0.1323, allocations: 467.6 kB / 417.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.1348, allocations: 1.899 MB / 419.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007617/0.1356, allocations: 429.6 kB / 420.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.1361, allocations: 289.1 kB / 420.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.1361, allocations: 8.281 kB / 420.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006113/0.1367, allocations: 309.8 kB / 420.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.074e-06/0.1368, allocations: 0 / 420.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001402/0.1382, allocations: 0.6588 MB / 421.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.1382, allocations: 81.11 kB / 421.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.1386, allocations: 336.5 kB / 421.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.1386, allocations: 33.7 kB / 421.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1388, allocations: 256 kB / 422 MB, free: 1.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.1389, allocations: 138 kB / 422.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.1391, allocations: 78.03 kB / 422.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1393, allocations: 354.7 kB / 422.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.1397, allocations: 196.8 kB / 422.8 MB, free: 352 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.1401, allocations: 271.4 kB / 423.1 MB, free: 56 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2247/0.3649, allocations: 0.5027 MB / 423.6 MB, free: 48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3649, allocations: 0.75 kB / 423.6 MB, free: 48 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001958/0.3669, allocations: 0.5925 MB / 424.2 MB, free: 47.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.393e-05/0.367, allocations: 34.11 kB / 424.2 MB, free: 47.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.367, allocations: 1.5 kB / 424.2 MB, free: 47.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/0.367, allocations: 6.344 kB / 424.2 MB, free: 47.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008669/0.3679, allocations: 126.2 kB / 424.3 MB, free: 47.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.3679, allocations: 3.734 kB / 424.3 MB, free: 47.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000587/0.3685, allocations: 69.62 kB / 424.4 MB, free: 47.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.3686, allocations: 17.02 kB / 424.4 MB, free: 47.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003659/0.369, allocations: 223 kB / 424.6 MB, free: 47.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.3691, allocations: 33.62 kB / 424.7 MB, free: 47.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.3701, allocations: 457.9 kB / 425.1 MB, free: 47.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.3702, allocations: 3.312 kB / 425.1 MB, free: 47.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.3702, allocations: 6.906 kB / 425.1 MB, free: 47.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3702, allocations: 3.422 kB / 425.1 MB, free: 47.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007267/0.3709, allocations: 0.599 MB / 425.7 MB, free: 47.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.3709, allocations: 0 / 425.7 MB, free: 47.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007793/0.3717, allocations: 106.5 kB / 425.8 MB, free: 47.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.3718, allocations: 3.781 kB / 425.8 MB, free: 47.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.3718, allocations: 13.55 kB / 425.8 MB, free: 47.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.3718, allocations: 2.688 kB / 425.8 MB, free: 47.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3718, allocations: 0 / 425.8 MB, free: 47.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.3737, allocations: 0.7823 MB / 426.6 MB, free: 47.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.93e-05/0.3738, allocations: 115.7 kB / 426.7 MB, free: 47.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.06e-05/0.3739, allocations: 14.47 kB / 426.7 MB, free: 47.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.3743, allocations: 39.92 kB / 426.8 MB, free: 47.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.3745, allocations: 35.02 kB / 426.8 MB, free: 47.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.3745, allocations: 12.3 kB / 426.8 MB, free: 47.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002963/0.3748, allocations: 242.2 kB / 427.1 MB, free: 47.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3749, allocations: 0 / 427.1 MB, free: 47.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005723/0.3754, allocations: 138.8 kB / 427.2 MB, free: 47.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001336/0.3756, allocations: 110.8 kB / 427.3 MB, free: 46.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.3769, allocations: 0.5246 MB / 427.8 MB, free: 46.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3769, allocations: 0 / 427.8 MB, free: 46.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005725/0.3775, allocations: 244.6 kB / 428.1 MB, free: 46.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.3779, allocations: 55.25 kB / 428.1 MB, free: 46.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.3804, allocations: 1.401 MB / 429.5 MB, free: 45.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.3808, allocations: 0.8603 MB / 430.4 MB, free: 45.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.381, allocations: 36.86 kB / 430.4 MB, free: 45.04 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.381, allocations: 0 / 430.4 MB, free: 45.04 MB / 350.1 MB Notification: Performance of Templates: time 0.01004/0.391, allocations: 5.866 MB / 436.3 MB, free: 44.42 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.makefile make -j1 -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppFastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputsCalcHelperMain.o OMCppFastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppFastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputsCalcHelperMain.o] Error 1