Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.871/1.871, allocations: 390.4 MB / 397.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 185.2 kB / 490.8 MB, free: 1.918 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 221.4 MB / 0.7863 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000908/0.000908, allocations: 98.47 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4339/0.4348, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.6251, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.659/3.284, allocations: 1.715 GB / 2.927 GB, free: 131.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/3.284, allocations: 80.14 kB / 2.927 GB, free: 131.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.1003/3.384, allocations: 56.09 MB / 2.981 GB, free: 80.82 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/3.384, allocations: 8 kB / 2.981 GB, free: 80.82 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005866/3.385, allocations: 59.73 kB / 2.981 GB, free: 80.76 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/3.385, allocations: 198.9 kB / 2.982 GB, free: 80.52 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/3.385, allocations: 8 kB / 2.982 GB, free: 80.52 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/3.385, allocations: 4 kB / 2.982 GB, free: 80.51 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00018/3.385, allocations: 79.97 kB / 2.982 GB, free: 80.43 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/3.385, allocations: 138 kB / 2.982 GB, free: 80.28 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/3.385, allocations: 4 kB / 2.982 GB, free: 80.28 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/3.386, allocations: 3.984 kB / 2.982 GB, free: 80.27 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/3.386, allocations: 4 kB / 2.982 GB, free: 80.27 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008547/3.386, allocations: 0.7976 MB / 2.983 GB, free: 79.41 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/3.387, allocations: 90.55 kB / 2.983 GB, free: 79.31 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.655e-05/3.387, allocations: 52.78 kB / 2.983 GB, free: 79.25 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/3.387, allocations: 8.156 kB / 2.983 GB, free: 79.25 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/3.387, allocations: 34.55 kB / 2.983 GB, free: 79.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/3.387, allocations: 0 / 2.983 GB, free: 79.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.0007696/3.387, allocations: 194.2 kB / 2.983 GB, free: 79 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.455e-05/3.387, allocations: 51.41 kB / 2.983 GB, free: 78.94 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.183e-05/3.388, allocations: 117.2 kB / 2.983 GB, free: 78.82 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/3.388, allocations: 25.7 kB / 2.983 GB, free: 78.79 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/3.388, allocations: 111.9 kB / 2.983 GB, free: 78.67 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/3.388, allocations: 19.66 kB / 2.983 GB, free: 78.65 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/3.388, allocations: 4 kB / 2.983 GB, free: 78.65 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 3.939e-05/3.388, allocations: 318.8 kB / 2.984 GB, free: 78.33 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.856e-05/3.388, allocations: 43.92 kB / 2.984 GB, free: 78.29 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.968e-05/3.388, allocations: 93.88 kB / 2.984 GB, free: 78.17 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.956e-05/3.388, allocations: 43.97 kB / 2.984 GB, free: 78.13 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/3.388, allocations: 7.906 kB / 2.984 GB, free: 78.12 MB / 1.151 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006996/3.389, allocations: 210.3 kB / 2.984 GB, free: 77.91 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/3.389, allocations: 8 kB / 2.984 GB, free: 77.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/3.389, allocations: 0 / 2.984 GB, free: 77.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/3.389, allocations: 92.83 kB / 2.984 GB, free: 77.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/3.39, allocations: 47.95 kB / 2.984 GB, free: 77.76 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/3.391, allocations: 1.48 MB / 2.986 GB, free: 76.16 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/3.391, allocations: 32 kB / 2.986 GB, free: 76.12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/3.391, allocations: 11.92 kB / 2.986 GB, free: 76.11 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 6.004e-05/3.391, allocations: 105 kB / 2.986 GB, free: 76 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/3.391, allocations: 15.81 kB / 2.986 GB, free: 75.99 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007216/3.392, allocations: 248.5 kB / 2.986 GB, free: 75.74 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/3.392, allocations: 0 / 2.986 GB, free: 75.74 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/3.392, allocations: 7.984 kB / 2.986 GB, free: 75.73 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/3.392, allocations: 0 / 2.986 GB, free: 75.73 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/3.392, allocations: 206 kB / 2.986 GB, free: 75.49 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/3.392, allocations: 0 / 2.986 GB, free: 75.49 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/3.393, allocations: 39.95 kB / 2.986 GB, free: 75.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004898/3.393, allocations: 92.77 kB / 2.986 GB, free: 75.36 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/3.393, allocations: 3.906 kB / 2.986 GB, free: 75.36 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/3.395, allocations: 1.505 MB / 2.988 GB, free: 73.73 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/3.395, allocations: 0 / 2.988 GB, free: 73.73 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006372/3.395, allocations: 312.2 kB / 2.988 GB, free: 73.41 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007041/3.396, allocations: 0.7004 MB / 2.989 GB, free: 72.69 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/3.396, allocations: 92.86 kB / 2.989 GB, free: 72.58 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/3.396, allocations: 0 / 2.989 GB, free: 72.58 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/3.396, allocations: 23.98 kB / 2.989 GB, free: 72.55 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/3.396, allocations: 11.97 kB / 2.989 GB, free: 72.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/3.396, allocations: 8 kB / 2.989 GB, free: 72.54 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.031e-05/3.396, allocations: 98.39 kB / 2.989 GB, free: 72.44 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009628/3.397, allocations: 131.8 kB / 2.989 GB, free: 72.31 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005974/3.398, allocations: 0.7146 MB / 2.99 GB, free: 71.59 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004492/3.398, allocations: 229.7 kB / 2.99 GB, free: 71.36 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/3.398, allocations: 4.25 kB / 2.99 GB, free: 71.36 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002994/3.399, allocations: 185.6 kB / 2.99 GB, free: 71.16 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/3.399, allocations: 23.91 kB / 2.99 GB, free: 71.14 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/3.399, allocations: 219.3 kB / 2.99 GB, free: 70.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/3.4, allocations: 0.7345 MB / 2.991 GB, free: 70.14 MB / 1.151 GB Notification: Performance of SimCode: time 3.01e-07/3.4, allocations: 0 / 2.991 GB, free: 70.14 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat does not exist to compare? outputFormat=mat