Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 96.14 kB / 15.87 MB, free: 16 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.001888/0.001888, allocations: 193.4 kB / 16.79 MB, free: 6.812 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.407/1.407, allocations: 222.9 MB / 240.5 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.2026/0.2026, allocations: 4.624 MB / 295.2 MB, free: 3.176 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001076, allocations: 51.92 kB / 356.5 MB, free: 2.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1133, allocations: 50.5 MB / 407 MB, free: 448 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.004193/0.1176, allocations: 3.017 MB / 410 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1187, allocations: 0.6661 MB / 410.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.1189, allocations: 11.94 kB / 410.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.119, allocations: 31.7 kB / 410.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.1192, allocations: 75.39 kB / 410.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.1195, allocations: 87.94 kB / 410.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.1198, allocations: 350.6 kB / 411.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.1201, allocations: 180.8 kB / 411.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.1203, allocations: 123.5 kB / 411.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.1205, allocations: 147.4 kB / 411.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.1206, allocations: 20 kB / 411.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.006e-05/0.1206, allocations: 24 kB / 411.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.1207, allocations: 59.77 kB / 411.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.1208, allocations: 163.2 kB / 411.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.1211, allocations: 299.6 kB / 412.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1211, allocations: 0 / 412.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1212, allocations: 0 / 412.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1212, allocations: 0 / 412.2 MB, free: 11.18 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001146/0.1223, allocations: 0.6488 MB / 412.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1224, allocations: 8.031 kB / 412.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.57e-05/0.1224, allocations: 32.56 kB / 412.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.1227, allocations: 268.7 kB / 413.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1228, allocations: 16.94 kB / 413.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.1228, allocations: 28.36 kB / 413.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006605/0.1235, allocations: 311.9 kB / 413.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1235, allocations: 0 / 413.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.1236, allocations: 15.98 kB / 413.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.1236, allocations: 4 kB / 413.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006071/0.1242, allocations: 242.1 kB / 413.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.1257, allocations: 1.002 MB / 414.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007274/0.1265, allocations: 290.4 kB / 415.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.1268, allocations: 144.8 kB / 415.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.1268, allocations: 0 / 415.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.1273, allocations: 176.8 kB / 415.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.1273, allocations: 0 / 415.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009585/0.1282, allocations: 382.3 kB / 415.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.1283, allocations: 63.39 kB / 415.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.1285, allocations: 213 kB / 416 MB, free: 7.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.1285, allocations: 29.7 kB / 416 MB, free: 7.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.1287, allocations: 172.1 kB / 416.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.912e-05/0.1288, allocations: 78.88 kB / 416.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/0.1289, allocations: 49.61 kB / 416.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.129, allocations: 334.8 kB / 416.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.1293, allocations: 115.9 kB / 416.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.1296, allocations: 139.4 kB / 416.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/0.1302, allocations: 285.9 kB / 417.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/0.1302, allocations: 4 kB / 417.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006959/0.1309, allocations: 357.9 kB / 417.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.1309, allocations: 37.69 kB / 417.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1309, allocations: 0 / 417.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.131, allocations: 0 / 417.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.1313, allocations: 67.89 kB / 417.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.1313, allocations: 4 kB / 417.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.1316, allocations: 43.78 kB / 417.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.1316, allocations: 8 kB / 417.7 MB, free: 5.406 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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.0001546/0.1318, allocations: 150 kB / 417.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.1318, allocations: 31.59 kB / 417.9 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007001/0.1325, allocations: 302.8 kB / 418.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1325, allocations: 0 / 418.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1325, allocations: 4 kB / 418.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1325, allocations: 3.984 kB / 418.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.1329, allocations: 369.3 kB / 418.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1329, allocations: 4 kB / 418.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.1333, allocations: 59.89 kB / 418.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.1333, allocations: 3.938 kB / 418.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.1333, allocations: 8 kB / 418.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1333, allocations: 3.984 kB / 418.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1333, allocations: 4 kB / 418.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009287/0.1343, allocations: 440.7 kB / 419.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.1343, allocations: 108.8 kB / 419.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.1344, allocations: 8 kB / 419.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.1346, allocations: 19.97 kB / 419.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.24e-05/0.1347, allocations: 23.97 kB / 419.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.1347, allocations: 8 kB / 419.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1348, allocations: 160.5 kB / 419.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1348, allocations: 0 / 419.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.1351, allocations: 71.75 kB / 419.5 MB, free: 3.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.0001121/0.1353, allocations: 107.2 kB / 419.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006525/0.1359, allocations: 319 kB / 419.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1359, allocations: 4 kB / 419.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.1362, allocations: 135.2 kB / 420 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.1366, allocations: 42.33 kB / 420 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.1378, allocations: 0.7218 MB / 420.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.1381, allocations: 0.7635 MB / 421.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.087e-05/0.1382, allocations: 19.44 kB / 421.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1382, allocations: 0 / 421.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of Templates: time 0.1865/0.3247, allocations: 3.249 MB / 424.8 MB, free: 47.83 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.SingleZone_Inputs_definedCalcHelperMain.o OMCppFastBuildings_FastBuildings.Examples.SingleZone_Inputs_definedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppFastBuildings_FastBuildings.Examples.SingleZone_Inputs_definedCalcHelperMain.o] Error 1