Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009247/0.0009246, allocations: 99.12 kB / 15.71 MB, free: 452 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.001297/0.001297, allocations: 177.9 kB / 16.58 MB, free: 6.879 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.482/1.482, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7474/0.7474, allocations: 132.3 MB / 424 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003504, allocations: 12.61 kB / 0.504 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.57/0.5704, allocations: 81.57 MB / 0.5837 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001351/0.5718, allocations: 0.9864 MB / 0.5846 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002741/0.5721, allocations: 108.3 kB / 0.5847 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.5721, allocations: 0 / 0.5847 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.5721, allocations: 0 / 0.5847 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.916e-05/0.5722, allocations: 13.98 kB / 0.5847 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.5724, allocations: 27.97 kB / 0.5848 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.342e-05/0.5725, allocations: 11.06 kB / 0.5848 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.5726, allocations: 6.828 kB / 0.5848 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.33e-05/0.5726, allocations: 3.094 kB / 0.5848 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.088e-05/0.5726, allocations: 12.31 kB / 0.5848 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.5727, allocations: 1.062 kB / 0.5848 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.5728, allocations: 46.72 kB / 0.5849 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.817e-06/0.5728, allocations: 4.562 kB / 0.5849 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.5729, allocations: 27.92 kB / 0.5849 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.998e-05/0.5729, allocations: 22.38 kB / 0.5849 GB, free: 3.074 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.573, allocations: 0.7969 kB / 0.5849 GB, free: 3.074 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.573, allocations: 3.938 kB / 0.5849 GB, free: 3.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.573, allocations: 1.125 kB / 0.5849 GB, free: 3.07 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003022/0.5733, allocations: 329.7 kB / 0.5852 GB, free: 2.715 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.5733, allocations: 10.09 kB / 0.5852 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.5734, allocations: 1.281 kB / 0.5852 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.5735, allocations: 180.9 kB / 0.5854 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.5735, allocations: 1.578 kB / 0.5854 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.5735, allocations: 1.062 kB / 0.5854 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.561e-05/0.5736, allocations: 30.67 kB / 0.5854 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.5736, allocations: 0 / 0.5854 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.5736, allocations: 0.7812 kB / 0.5854 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5736, allocations: 0 / 0.5854 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.523e-05/0.5737, allocations: 4.344 kB / 0.5854 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.5738, allocations: 159.8 kB / 0.5856 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.927e-05/0.5739, allocations: 28.95 kB / 0.5856 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/0.5739, allocations: 8.031 kB / 0.5856 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005852/0.5745, allocations: 0.6088 MB / 0.5862 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.5745, allocations: 32.03 kB / 0.5863 GB, free: 1.531 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.5745, allocations: 4 kB / 0.5863 GB, free: 1.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001399/0.5747, allocations: 40.84 kB / 0.5863 GB, free: 1.492 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.5747, allocations: 52.69 kB / 0.5864 GB, free: 1.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.5748, allocations: 103.5 kB / 0.5865 GB, free: 1.324 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.5748, allocations: 25.7 kB / 0.5865 GB, free: 1.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.5748, allocations: 84.42 kB / 0.5866 GB, free: 1.211 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.5748, allocations: 9.734 kB / 0.5866 GB, free: 1.203 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-06/0.5748, allocations: 0 / 0.5866 GB, free: 1.203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.5749, allocations: 321.3 kB / 0.5869 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.116e-05/0.5749, allocations: 5.406 kB / 0.5869 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-06/0.5749, allocations: 3.094 kB / 0.5869 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.712e-05/0.575, allocations: 2.594 kB / 0.5869 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.575, allocations: 4.641 kB / 0.5869 GB, free: 0.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.751e-05/0.575, allocations: 39.48 kB / 0.5869 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5751, allocations: 6.453 kB / 0.5869 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.5751, allocations: 0 / 0.5869 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.5751, allocations: 9.281 kB / 0.5869 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.5751, allocations: 2.578 kB / 0.5869 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5751, allocations: 5.625 kB / 0.5869 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.5752, allocations: 0 / 0.5869 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.5752, allocations: 0.9688 kB / 0.5869 GB, free: 0.8281 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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 5.631e-05/0.5752, allocations: 118 kB / 0.5871 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.5753, allocations: 4.906 kB / 0.5871 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.17e-05/0.5754, allocations: 44.8 kB / 0.5871 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5754, allocations: 4.812 kB / 0.5871 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5754, allocations: 4 kB / 0.5871 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5754, allocations: 1.734 kB / 0.5871 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.149e-05/0.5755, allocations: 159.1 kB / 0.5873 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.5755, allocations: 1.031 kB / 0.5873 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-05/0.5755, allocations: 3.359 kB / 0.5873 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5755, allocations: 0.6562 kB / 0.5873 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.5755, allocations: 1.406 kB / 0.5873 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5755, allocations: 0 / 0.5873 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5755, allocations: 0.6562 kB / 0.5873 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.984e-05/0.5756, allocations: 74.14 kB / 0.5873 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.5756, allocations: 78.7 kB / 0.5874 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.5757, allocations: 0 / 0.5874 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.571e-05/0.5757, allocations: 1.766 kB / 0.5874 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.5757, allocations: 1.484 kB / 0.5874 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.5757, allocations: 0.9688 kB / 0.5874 GB, free: 292 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.144e-05/0.5757, allocations: 78.92 kB / 0.5875 GB, free: 216 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5757, allocations: 1.406 kB / 0.5875 GB, free: 216 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000204/0.5759, allocations: 19.45 kB / 0.5875 GB, free: 208 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001629/0.5761, allocations: 114.3 kB / 0.5876 GB, free: 112 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.122e-05/0.5762, allocations: 7.234 kB / 0.5876 GB, free: 112 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5762, allocations: 3.938 kB / 0.5876 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.361e-05/0.5762, allocations: 4.203 kB / 0.5876 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.5765, allocations: 9.922 kB / 0.5877 GB, free: 104 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.5768, allocations: 142.9 kB / 0.5878 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.577, allocations: 0.674 MB / 0.5884 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.5771, allocations: 10.91 kB / 0.5885 GB, free: 15.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5771, allocations: 3.938 kB / 0.5885 GB, free: 15.24 MB / 446.1 MB Notification: Performance of Templates: time 0.002225/0.5793, allocations: 0.5948 MB / 0.589 GB, free: 15.21 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile make -j1 -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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 OMCppIDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawCalcHelperMain.o OMCppIDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawCalcHelperMain.o] Error 1