Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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_Angles,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",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.071/2.071, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001034/0.001034, allocations: 188.6 kB / 487 MB, free: 5.379 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.467/1.467, allocations: 221.3 MB / 0.7819 GB, free: 1.316 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.0009862/0.0009858, allocations: 83.38 kB / 0.9213 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5443/0.5453, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.7788, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.556/4.335, allocations: 1.938 GB / 3.143 GB, free: 340.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/4.335, allocations: 79.95 kB / 3.143 GB, free: 340.2 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.5998/4.935, allocations: 324.2 MB / 3.46 GB, free: 10.64 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/4.935, allocations: 8 kB / 3.46 GB, free: 10.64 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003448/4.938, allocations: 0.5978 MB / 3.46 GB, free: 10.04 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/4.941, allocations: 2.251 MB / 3.462 GB, free: 7.734 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/4.941, allocations: 55.91 kB / 3.463 GB, free: 7.68 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/4.942, allocations: 100 kB / 3.463 GB, free: 7.582 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002557/4.944, allocations: 1.884 MB / 3.464 GB, free: 5.695 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/4.946, allocations: 1.593 MB / 3.466 GB, free: 4.051 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/4.946, allocations: 0 / 3.466 GB, free: 4.051 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/4.947, allocations: 4 kB / 3.466 GB, free: 4.047 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/4.947, allocations: 40 kB / 3.466 GB, free: 4.008 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3884/5.335, allocations: 6.084 MB / 3.472 GB, free: 438.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/5.338, allocations: 1.824 MB / 3.474 GB, free: 438.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008192/5.338, allocations: 0.6683 MB / 3.474 GB, free: 438.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007279/5.339, allocations: 0.7466 MB / 3.475 GB, free: 437.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/5.34, allocations: 0.8545 MB / 3.476 GB, free: 437.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.257e-06/5.34, allocations: 0 / 3.476 GB, free: 437.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003913/5.344, allocations: 1.604 MB / 3.478 GB, free: 437.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/5.344, allocations: 244.2 kB / 3.478 GB, free: 437 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003095/5.347, allocations: 2.369 MB / 3.48 GB, free: 436.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001607/5.348, allocations: 35.73 kB / 3.48 GB, free: 436.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004605/5.348, allocations: 0.5845 MB / 3.481 GB, free: 436.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003187/5.348, allocations: 437.5 kB / 3.481 GB, free: 436.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/5.348, allocations: 3.812 kB / 3.481 GB, free: 436.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.285e-05/5.348, allocations: 344.1 kB / 3.481 GB, free: 436.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006702/5.349, allocations: 491.2 kB / 3.482 GB, free: 436.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007853/5.35, allocations: 0.682 MB / 3.483 GB, free: 435.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000877/5.351, allocations: 0.5712 MB / 3.483 GB, free: 435.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/5.351, allocations: 3.625 kB / 3.483 GB, free: 435.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003069/5.354, allocations: 1.534 MB / 3.485 GB, free: 435.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/5.354, allocations: 3.594 kB / 3.485 GB, free: 435.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/5.354, allocations: 0 / 3.485 GB, free: 435.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/5.355, allocations: 210.7 kB / 3.485 GB, free: 435.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/5.357, allocations: 315.2 kB / 3.485 GB, free: 435.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004894/5.362, allocations: 6.504 MB / 3.492 GB, free: 429.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/5.363, allocations: 133.7 kB / 3.492 GB, free: 429.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/5.364, allocations: 75.78 kB / 3.492 GB, free: 429.7 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 (132): * Single equations (assignments): 127 * 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.0003965/5.364, allocations: 123.2 kB / 3.492 GB, free: 429.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003569/5.364, allocations: 181 kB / 3.492 GB, free: 429.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/5.369, allocations: 2.023 MB / 3.494 GB, free: 429.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/5.369, allocations: 15.47 kB / 3.494 GB, free: 429.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/5.369, allocations: 0 / 3.494 GB, free: 429.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/5.369, allocations: 11.11 kB / 3.494 GB, free: 429.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006655/5.376, allocations: 3.87 MB / 3.498 GB, free: 428.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/5.376, allocations: 0 / 3.498 GB, free: 428.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/5.377, allocations: 329.5 kB / 3.498 GB, free: 428.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009194/5.378, allocations: 207.6 kB / 3.498 GB, free: 428.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/5.378, allocations: 25.64 kB / 3.498 GB, free: 428.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004325/5.383, allocations: 6.529 MB / 3.505 GB, free: 422.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/5.383, allocations: 3.797 kB / 3.505 GB, free: 422.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0038/5.386, allocations: 1.731 MB / 3.506 GB, free: 422.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003982/5.39, allocations: 2.197 MB / 3.509 GB, free: 421.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002215/5.393, allocations: 0.6575 MB / 3.509 GB, free: 421.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005895/5.393, allocations: 7.406 kB / 3.509 GB, free: 421.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/5.395, allocations: 110.1 kB / 3.509 GB, free: 421.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/5.395, allocations: 92.58 kB / 3.509 GB, free: 421.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/5.395, allocations: 84.45 kB / 3.509 GB, free: 421.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002557/5.398, allocations: 1.838 MB / 3.511 GB, free: 421.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004023/5.402, allocations: 0.9278 MB / 3.512 GB, free: 421.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.002651/5.405, allocations: 1.729 MB / 3.514 GB, free: 421.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002412/5.407, allocations: 1.703 MB / 3.516 GB, free: 420.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/5.407, allocations: 4.188 kB / 3.516 GB, free: 420.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/5.408, allocations: 1.204 MB / 3.517 GB, free: 420.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/5.411, allocations: 420 kB / 3.517 GB, free: 420.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006801/5.417, allocations: 3.024 MB / 3.52 GB, free: 419.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002/5.419, allocations: 1.872 MB / 3.522 GB, free: 418.9 MB / 1.151 GB Notification: Performance of SimCode: time 7.82e-07/5.419, allocations: 2.969 kB / 3.522 GB, free: 418.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat does not exist to compare? outputFormat=mat