Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",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 9.1.1-maint.9.1.x/package.mo): time 2.077/2.077, allocations: 387.2 MB / 394.5 MB, free: 13.6 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.001073/0.001073, allocations: 181.3 kB / 487 MB, free: 5.293 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.302/1.302, allocations: 221.3 MB / 0.7819 GB, free: 1.262 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009632/0.0009631, allocations: 104.8 kB / 0.9213 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4739/0.4749, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.7115, allocations: 142.3 MB / 1.205 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.782/4.494, allocations: 1.937 GB / 3.143 GB, free: 388.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/4.494, allocations: 87.89 kB / 3.143 GB, free: 388.5 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.6184/5.112, allocations: 328.6 MB / 3.464 GB, free: 54.61 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/5.112, allocations: 9 kB / 3.464 GB, free: 54.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003855/5.116, allocations: 0.5824 MB / 3.464 GB, free: 54.01 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003659/5.12, allocations: 2.235 MB / 3.466 GB, free: 51.73 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/5.12, allocations: 55.98 kB / 3.466 GB, free: 51.67 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/5.12, allocations: 96 kB / 3.466 GB, free: 51.58 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002673/5.123, allocations: 1.884 MB / 3.468 GB, free: 49.69 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/5.125, allocations: 1.585 MB / 3.47 GB, free: 48.05 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/5.125, allocations: 4 kB / 3.47 GB, free: 48.05 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/5.125, allocations: 4 kB / 3.47 GB, free: 48.05 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/5.125, allocations: 40 kB / 3.47 GB, free: 48.01 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008942/5.134, allocations: 5.87 MB / 3.476 GB, free: 41.96 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/5.136, allocations: 1.82 MB / 3.477 GB, free: 40.06 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007892/5.137, allocations: 0.6713 MB / 3.478 GB, free: 39.39 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000689/5.138, allocations: 0.752 MB / 3.479 GB, free: 38.49 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/5.139, allocations: 0.8582 MB / 3.48 GB, free: 37.61 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 4.298e-06/5.139, allocations: 0 / 3.48 GB, free: 37.61 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003866/5.143, allocations: 1.605 MB / 3.481 GB, free: 35.98 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/5.143, allocations: 248.6 kB / 3.481 GB, free: 35.68 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/5.146, allocations: 2.338 MB / 3.484 GB, free: 33.33 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001835/5.146, allocations: 29.7 kB / 3.484 GB, free: 33.29 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004624/5.147, allocations: 0.5768 MB / 3.484 GB, free: 32.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/5.147, allocations: 437.4 kB / 3.485 GB, free: 32.27 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/5.147, allocations: 0 / 3.485 GB, free: 32.27 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.802e-05/5.147, allocations: 353.8 kB / 3.485 GB, free: 31.92 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006158/5.148, allocations: 490.4 kB / 3.486 GB, free: 31.44 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007182/5.148, allocations: 0.6904 MB / 3.486 GB, free: 30.68 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008289/5.149, allocations: 0.5658 MB / 3.487 GB, free: 30.12 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/5.149, allocations: 4 kB / 3.487 GB, free: 30.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002969/5.152, allocations: 1.523 MB / 3.488 GB, free: 28.57 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/5.152, allocations: 8 kB / 3.488 GB, free: 28.56 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/5.152, allocations: 4.062 kB / 3.488 GB, free: 28.55 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/5.153, allocations: 204.1 kB / 3.488 GB, free: 28.34 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/5.155, allocations: 311.5 kB / 3.489 GB, free: 28.04 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004276/5.159, allocations: 6.505 MB / 3.495 GB, free: 20.94 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/5.161, allocations: 127.2 kB / 3.495 GB, free: 20.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002463/5.162, allocations: 67.97 kB / 3.495 GB, free: 20.75 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 126 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000392/5.162, allocations: 131.9 kB / 3.495 GB, free: 20.62 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004026/5.162, allocations: 177.9 kB / 3.496 GB, free: 20.44 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004274/5.167, allocations: 2.02 MB / 3.498 GB, free: 18.39 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/5.167, allocations: 19.94 kB / 3.498 GB, free: 18.38 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/5.167, allocations: 7.906 kB / 3.498 GB, free: 18.37 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/5.167, allocations: 7.969 kB / 3.498 GB, free: 18.36 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006203/5.173, allocations: 3.847 MB / 3.501 GB, free: 14.45 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/5.173, allocations: 4 kB / 3.501 GB, free: 14.44 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/5.174, allocations: 315.6 kB / 3.502 GB, free: 14.13 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009187/5.175, allocations: 212.1 kB / 3.502 GB, free: 13.91 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.3e-05/5.176, allocations: 23.97 kB / 3.502 GB, free: 13.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004009/5.18, allocations: 6.537 MB / 3.508 GB, free: 6.777 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/5.18, allocations: 0 / 3.508 GB, free: 6.777 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003282/5.183, allocations: 1.734 MB / 3.51 GB, free: 5.008 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003211/5.186, allocations: 2.199 MB / 3.512 GB, free: 2.77 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/5.187, allocations: 0.6583 MB / 3.513 GB, free: 2.09 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/5.188, allocations: 0 / 3.513 GB, free: 2.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/5.189, allocations: 115.7 kB / 3.513 GB, free: 1.977 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/5.189, allocations: 85.19 kB / 3.513 GB, free: 1.895 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/5.189, allocations: 87.94 kB / 3.513 GB, free: 1.809 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002055/5.191, allocations: 1.808 MB / 3.515 GB, free: 4 kB / 1.151 GB Notification: Performance of remove unused functions: time 0.4991/5.69, allocations: 0.9172 MB / 3.516 GB, free: 434.6 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002375/5.693, allocations: 1.724 MB / 3.517 GB, free: 434.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002349/5.695, allocations: 1.709 MB / 3.519 GB, free: 433.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/5.695, allocations: 4.219 kB / 3.519 GB, free: 433.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/5.697, allocations: 1.207 MB / 3.52 GB, free: 433.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/5.699, allocations: 414.2 kB / 3.521 GB, free: 433.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006406/5.705, allocations: 2.908 MB / 3.523 GB, free: 432.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001993/5.707, allocations: 1.859 MB / 3.525 GB, free: 431.9 MB / 1.151 GB Notification: Performance of SimCode: time 4.21e-07/5.707, allocations: 7.688 kB / 3.525 GB, free: 431.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat does not exist to compare? outputFormat=mat