Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_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.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001189, allocations: 102.1 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.001501/0.001501, allocations: 174.8 kB / 16.58 MB, free: 6.402 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.581/1.581, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.2335/0.2335, allocations: 4.624 MB / 296.3 MB, free: 4.023 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 8 kB / 358.3 MB, free: 2.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 51.49 MB / 409.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004621/0.1439, allocations: 2.532 MB / 412.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1453, allocations: 0.6547 MB / 413 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.1455, allocations: 7.938 kB / 413 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.1457, allocations: 35.7 kB / 413 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1459, allocations: 71.39 kB / 413.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.1462, allocations: 71.92 kB / 413.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005562/0.1468, allocations: 362.4 kB / 413.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004616/0.1473, allocations: 177 kB / 413.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.1475, allocations: 103.6 kB / 413.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.1478, allocations: 115.4 kB / 413.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.1478, allocations: 16 kB / 413.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.536e-05/0.1479, allocations: 12 kB / 413.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.1479, allocations: 43.83 kB / 414 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.1481, allocations: 85.52 kB / 414.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.1485, allocations: 327.5 kB / 414.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.1485, allocations: 0 / 414.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.1485, allocations: 0 / 414.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.1485, allocations: 0 / 414.4 MB, free: 10.38 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.001603/0.1502, allocations: 0.5947 MB / 415 MB, free: 9.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.1502, allocations: 8.031 kB / 415 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.529e-05/0.1503, allocations: 31.62 kB / 415 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.1508, allocations: 275.4 kB / 415.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.1508, allocations: 20.56 kB / 415.3 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.1509, allocations: 24 kB / 415.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007235/0.1516, allocations: 351.6 kB / 415.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1516, allocations: 0 / 415.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.1517, allocations: 7.938 kB / 415.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.1517, allocations: 8 kB / 415.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006767/0.1524, allocations: 302 kB / 416 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.1547, allocations: 1.064 MB / 417 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000923/0.1556, allocations: 315.1 kB / 417.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.156, allocations: 173.1 kB / 417.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.156, allocations: 192 / 417.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004495/0.1565, allocations: 207.6 kB / 417.7 MB, free: 6.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.304e-06/0.1565, allocations: 3.938 kB / 417.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001478/0.158, allocations: 450.1 kB / 418.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.1581, allocations: 55.41 kB / 418.2 MB, free: 6.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.1584, allocations: 229 kB / 418.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.1585, allocations: 29.7 kB / 418.5 MB, free: 6.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.1586, allocations: 168.1 kB / 418.6 MB, free: 5.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/0.1587, allocations: 78.92 kB / 418.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.1587, allocations: 12 kB / 418.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002828/0.159, allocations: 330.8 kB / 419.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.1594, allocations: 135.9 kB / 419.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/0.1599, allocations: 175.3 kB / 419.4 MB, free: 5.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.1603, allocations: 182.5 kB / 419.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1604, allocations: 0 / 419.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001094/0.1615, allocations: 405.9 kB / 419.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/0.1615, allocations: 33.7 kB / 420 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1615, allocations: 4.094 kB / 420 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1616, allocations: 0 / 420 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/0.162, allocations: 75.89 kB / 420 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.1621, allocations: 0 / 420 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.1623, allocations: 59.64 kB / 420.1 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.1624, allocations: 8 kB / 420.1 MB, free: 4.383 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 ($whenCondition1,$PRE.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00023/0.1626, allocations: 165.7 kB / 420.3 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.1626, allocations: 19.81 kB / 420.3 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007814/0.1634, allocations: 348.5 kB / 420.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1634, allocations: 0 / 420.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1635, allocations: 0 / 420.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000141/0.1636, allocations: 4 kB / 420.6 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/0.1642, allocations: 389.2 kB / 421 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1643, allocations: 3.953 kB / 421 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/0.1646, allocations: 63.95 kB / 421.1 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.1646, allocations: 4 kB / 421.1 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.1646, allocations: 7.984 kB / 421.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1647, allocations: 0 / 421.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1647, allocations: 0 / 421.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.166, allocations: 0.5293 MB / 421.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.1661, allocations: 100.8 kB / 421.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.1662, allocations: 16.05 kB / 421.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.1664, allocations: 27.98 kB / 421.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.1665, allocations: 23.95 kB / 421.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.1665, allocations: 8 kB / 421.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.1667, allocations: 168.5 kB / 422 MB, free: 2.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1667, allocations: 0 / 422 MB, free: 2.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003447/0.167, allocations: 71.84 kB / 422 MB, free: 2.352 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,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 (22): * Single equations (assignments): 20 * Array equations: 0 * 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.0001372/0.1672, allocations: 103.2 kB / 422.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007521/0.168, allocations: 382.5 kB / 422.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.168, allocations: 0 / 422.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004217/0.1684, allocations: 155.9 kB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.1688, allocations: 37.89 kB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.1704, allocations: 0.7762 MB / 423.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.1708, allocations: 0.7674 MB / 424.2 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.496e-05/0.1709, allocations: 19.44 kB / 424.3 MB, free: 52 kB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1709, allocations: 0 / 424.3 MB, free: 52 kB / 350.1 MB Notification: Performance of Templates: time 0.2567/0.4276, allocations: 3.414 MB / 427.7 MB, free: 45.84 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.makefile make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.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 OMCppFastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputsCalcHelperMain.o OMCppFastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppFastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputsCalcHelperMain.o] Error 1