Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.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.0011/0.001101, allocations: 102.7 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.001638/0.001638, allocations: 178.6 kB / 16.59 MB, free: 6.039 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.445/1.445, allocations: 223.3 MB / 240.6 MB, free: 5.289 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.471/2.471, allocations: 390.4 MB / 0.6662 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 8 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9307/0.9311, allocations: 142.3 MB / 0.9544 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001532/0.9327, allocations: 0.9728 MB / 0.9554 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000318/0.9331, allocations: 117.1 kB / 0.9555 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.9331, allocations: 1.531 kB / 0.9555 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.9332, allocations: 0 / 0.9555 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.123e-05/0.9333, allocations: 7.922 kB / 0.9555 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.9335, allocations: 28.72 kB / 0.9555 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.337e-05/0.9335, allocations: 17.33 kB / 0.9555 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.9336, allocations: 1.375 kB / 0.9555 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.448e-05/0.9336, allocations: 2.25 kB / 0.9555 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/0.9337, allocations: 6.594 kB / 0.9555 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.9337, allocations: 5.391 kB / 0.9555 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.9339, allocations: 47.5 kB / 0.9556 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.9339, allocations: 9 kB / 0.9556 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.934, allocations: 26.89 kB / 0.9556 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.9341, allocations: 22.81 kB / 0.9556 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9341, allocations: 0 / 0.9556 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9341, allocations: 0 / 0.9556 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.9342, allocations: 1.125 kB / 0.9556 GB, free: 7.062 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003979/0.9346, allocations: 338.6 kB / 0.956 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.9346, allocations: 9.906 kB / 0.956 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.9347, allocations: 3.953 kB / 0.956 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.9348, allocations: 168.5 kB / 0.9561 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.9348, allocations: 1.469 kB / 0.9561 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.9349, allocations: 4 kB / 0.9561 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.608e-05/0.9349, allocations: 33.27 kB / 0.9562 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.935, allocations: 0 / 0.9562 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.935, allocations: 0 / 0.9562 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.935, allocations: 1.219 kB / 0.9562 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.769e-05/0.935, allocations: 10.89 kB / 0.9562 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.9352, allocations: 149.5 kB / 0.9563 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.589e-05/0.9353, allocations: 27.58 kB / 0.9564 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.9353, allocations: 12.27 kB / 0.9564 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006263/0.936, allocations: 0.6091 MB / 0.957 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.936, allocations: 39.94 kB / 0.957 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.936, allocations: 0 / 0.957 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001725/0.9362, allocations: 43.03 kB / 0.957 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.9362, allocations: 51.41 kB / 0.9571 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.54e-05/0.9363, allocations: 99.33 kB / 0.9572 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.9363, allocations: 25.7 kB / 0.9572 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.884e-05/0.9363, allocations: 80.14 kB / 0.9573 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.9364, allocations: 5.25 kB / 0.9573 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.9364, allocations: 0 / 0.9573 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.9365, allocations: 324.2 kB / 0.9576 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.9365, allocations: 2.219 kB / 0.9576 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.222e-05/0.9365, allocations: 5.219 kB / 0.9576 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.9365, allocations: 2.531 kB / 0.9576 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9366, allocations: 5.344 kB / 0.9576 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.733e-05/0.9366, allocations: 37.95 kB / 0.9577 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.9367, allocations: 9.516 kB / 0.9577 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.9367, allocations: 0 / 0.9577 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.9367, allocations: 0 / 0.9577 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.9368, allocations: 3.719 kB / 0.9577 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.9368, allocations: 3.938 kB / 0.9577 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.9368, allocations: 5 kB / 0.9577 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.9368, allocations: 5.125 kB / 0.9577 GB, free: 4.773 MB / 0.7169 GB 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 6.622e-05/0.9369, allocations: 111 kB / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.9369, allocations: 5.344 kB / 0.9578 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.9371, allocations: 49.12 kB / 0.9578 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.9371, allocations: 3.984 kB / 0.9578 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.9371, allocations: 1.188 kB / 0.9578 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.9371, allocations: 0 / 0.9578 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.349e-05/0.9372, allocations: 161.3 kB / 0.958 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9372, allocations: 0 / 0.958 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.9372, allocations: 2.625 kB / 0.958 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.9372, allocations: 1.219 kB / 0.958 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.9373, allocations: 0 / 0.958 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.9373, allocations: 1.5 kB / 0.958 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.9373, allocations: 0 / 0.958 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.903e-05/0.9374, allocations: 74.86 kB / 0.9581 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.9374, allocations: 77.11 kB / 0.9581 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.9374, allocations: 1.031 kB / 0.9581 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.9375, allocations: 1.344 kB / 0.9581 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.9375, allocations: 0 / 0.9581 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.9375, allocations: 5.516 kB / 0.9582 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.698e-05/0.9375, allocations: 81.28 kB / 0.9582 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9375, allocations: 1.188 kB / 0.9582 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003235/0.9379, allocations: 15.62 kB / 0.9582 GB, free: 4.137 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: 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.0001888/0.9381, allocations: 119.8 kB / 0.9584 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.156e-05/0.9382, allocations: 7 kB / 0.9584 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.9382, allocations: 0 / 0.9584 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.547e-05/0.9382, allocations: 8.094 kB / 0.9584 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.9385, allocations: 9.047 kB / 0.9584 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.9388, allocations: 149.5 kB / 0.9585 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.9389, allocations: 0.672 MB / 0.9592 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.939, allocations: 10.19 kB / 0.9592 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.939, allocations: 0 / 0.9592 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of Templates: time 0.002822/0.9418, allocations: 0.5972 MB / 0.9598 GB, free: 2.859 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile make -j1 -f Buildings_9_Buildings.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 OMCppBuildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawCalcHelperMain.o OMCppBuildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawCalcHelperMain.o] Error 1