Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleStream.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleStream") translateModel(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleStream") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 100.2 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.001554/0.001554, allocations: 176.3 kB / 16.58 MB, free: 6.422 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.617/1.617, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8936/0.8936, allocations: 89.62 MB / 381.3 MB, free: 11.44 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003779, allocations: 12.5 kB / 460.6 MB, free: 24.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1633, allocations: 68.83 MB / 0.517 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.7629/0.9263, allocations: 260.6 MB / 0.7715 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03583/0.9622, allocations: 25.26 MB / 0.7962 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.9643, allocations: 19.94 kB / 0.7962 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003465/0.9678, allocations: 0.8856 MB / 0.7971 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01335/0.9812, allocations: 3.544 MB / 0.8005 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005622/0.9868, allocations: 1.378 MB / 0.8019 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005063/0.9919, allocations: 2.693 MB / 0.8045 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.993, allocations: 495.5 kB / 0.805 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003648/0.9967, allocations: 1.106 MB / 0.806 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.9984, allocations: 0.8678 MB / 0.8069 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.9986, allocations: 52 kB / 0.8069 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5665/1.565, allocations: 6.989 MB / 0.8138 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001128/1.566, allocations: 383 kB / 0.8141 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000875/1.567, allocations: 311.1 kB / 0.8144 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01354/1.581, allocations: 3.53 MB / 0.8179 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/1.581, allocations: 3.188 kB / 0.8179 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.946e-06/1.581, allocations: 0 / 0.8179 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.929e-05/1.581, allocations: 0 / 0.8179 GB, free: 12.88 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.01196/1.593, allocations: 2.306 MB / 0.8201 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.497e-05/1.593, allocations: 11.08 kB / 0.8201 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006526/1.594, allocations: 158.8 kB / 0.8203 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/1.595, allocations: 0.7372 MB / 0.821 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/1.595, allocations: 90.94 kB / 0.8211 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/1.596, allocations: 117.8 kB / 0.8212 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003833/1.599, allocations: 1.766 MB / 0.8229 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/1.599, allocations: 2.359 kB / 0.8229 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/1.6, allocations: 50.2 kB / 0.823 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002067/1.6, allocations: 108.5 kB / 0.8231 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003718/1.603, allocations: 1.876 MB / 0.8249 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/1.615, allocations: 7.932 MB / 0.8327 GB, free: 22.67 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/1.617, allocations: 0.9197 MB / 0.8336 GB, free: 22.53 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009964/1.618, allocations: 0.6821 MB / 0.8342 GB, free: 22.52 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001903/1.619, allocations: 2.355 MB / 0.8365 GB, free: 19.9 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/1.619, allocations: 48.89 kB / 0.8366 GB, free: 19.86 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=101): time 3.687e-06/1.62, allocations: 0 / 0.8366 GB, free: 19.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=103): time 0.007434/1.627, allocations: 3.777 MB / 0.8403 GB, free: 19.14 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/1.627, allocations: 62.56 kB / 0.8403 GB, free: 19.08 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/1.628, allocations: 0.6653 MB / 0.841 GB, free: 18.95 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/1.628, allocations: 40.55 kB / 0.841 GB, free: 18.92 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005932/1.629, allocations: 0.5249 MB / 0.8415 GB, free: 18.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/1.629, allocations: 355.4 kB / 0.8419 GB, free: 18.45 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/1.629, allocations: 16.84 kB / 0.8419 GB, free: 18.45 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002195/1.63, allocations: 345 kB / 0.8422 GB, free: 18.14 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009658/1.631, allocations: 0.4939 MB / 0.8427 GB, free: 18.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/1.632, allocations: 0.5811 MB / 0.8433 GB, free: 18.1 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalConduction.deltaE_system = 0.0 ($START.thermalConduction.deltaE_system = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/1.633, allocations: 0.6449 MB / 0.8439 GB, free: 18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.633, allocations: 1.75 kB / 0.8439 GB, free: 18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003079/1.636, allocations: 1.481 MB / 0.8453 GB, free: 17.89 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/1.636, allocations: 4.094 kB / 0.8453 GB, free: 17.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/1.636, allocations: 2.969 kB / 0.8453 GB, free: 17.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006493/1.637, allocations: 170.1 kB / 0.8455 GB, free: 17.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006741/1.638, allocations: 187.3 kB / 0.8457 GB, free: 17.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/1.641, allocations: 2.465 MB / 0.8481 GB, free: 16.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/1.642, allocations: 95.61 kB / 0.8482 GB, free: 16.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/1.642, allocations: 67.3 kB / 0.8482 GB, free: 16.5 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: thermalConduction.deltaE_system = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (96): * Single equations (assignments): 90 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008047/1.643, allocations: 322.1 kB / 0.8486 GB, free: 16.38 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/1.643, allocations: 91.84 kB / 0.8486 GB, free: 16.33 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/1.646, allocations: 2.12 MB / 0.8507 GB, free: 16.13 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/1.646, allocations: 13.25 kB / 0.8507 GB, free: 16.13 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.647, allocations: 3.953 kB / 0.8507 GB, free: 16.13 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/1.647, allocations: 8.359 kB / 0.8507 GB, free: 16.13 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005505/1.652, allocations: 3.326 MB / 0.854 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.652, allocations: 0 / 0.854 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006186/1.653, allocations: 189.2 kB / 0.8542 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005571/1.653, allocations: 170.3 kB / 0.8543 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.462e-05/1.653, allocations: 46.89 kB / 0.8544 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/1.656, allocations: 2.458 MB / 0.8568 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.656, allocations: 0 / 0.8568 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003635/1.66, allocations: 2.318 MB / 0.859 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005389/1.66, allocations: 178.8 kB / 0.8592 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/1.661, allocations: 23.2 kB / 0.8592 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006583/1.661, allocations: 101.2 kB / 0.8593 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/1.661, allocations: 91.52 kB / 0.8594 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.662, allocations: 62.95 kB / 0.8595 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007084/1.662, allocations: 0.4919 MB / 0.86 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/1.662, allocations: 0 / 0.86 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003736/1.666, allocations: 0.9237 MB / 0.8609 GB, free: 13.56 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (thermalConduction.h,heatCapacitor.T,flowResistance2.inlet.m_flow,flowResistance3.inlet.m_flow) * 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 (91): * Single equations (assignments): 85 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003374/1.669, allocations: 1.177 MB / 0.862 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002565/1.672, allocations: 1.512 MB / 0.8635 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.672, allocations: 2.906 kB / 0.8635 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/1.673, allocations: 0.9184 MB / 0.8644 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/1.675, allocations: 375.2 kB / 0.8647 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005017/1.68, allocations: 3.207 MB / 0.8679 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/1.681, allocations: 1.209 MB / 0.8691 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006165/1.682, allocations: 146.2 kB / 0.8692 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of SimCode: time 1.322e-06/1.682, allocations: 1.859 kB / 0.8692 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of Templates: time 0.05769/1.74, allocations: 34.18 MB / 0.9026 GB, free: 7.816 MB / 0.6387 GB make -j1 -f ThermofluidStream_ThermofluidStream.Examples.SimpleStream.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Examples.SimpleStream.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermofluidStream_ThermofluidStream.Examples.SimpleStreamCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Examples.SimpleStreamCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Examples.SimpleStreamCalcHelperMain.o] Error 1