Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.108/2.108, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001195/0.001195, allocations: 190.6 kB / 490.8 MB, free: 1.938 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.431/1.431, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.0009133/0.0009134, allocations: 91.47 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.553/0.554, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.7959, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.537/4.333, allocations: 1.938 GB / 3.15 GB, free: 397.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/4.333, allocations: 83.42 kB / 3.15 GB, free: 397.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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.6188/4.952, allocations: 324.2 MB / 3.467 GB, free: 67.86 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/4.952, allocations: 12 kB / 3.467 GB, free: 67.85 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003716/4.956, allocations: 0.5862 MB / 3.467 GB, free: 67.26 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/4.959, allocations: 2.263 MB / 3.47 GB, free: 64.95 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/4.959, allocations: 52 kB / 3.47 GB, free: 64.89 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/4.959, allocations: 96 kB / 3.47 GB, free: 64.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002589/4.962, allocations: 1.888 MB / 3.472 GB, free: 62.91 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/4.964, allocations: 1.597 MB / 3.473 GB, free: 61.26 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/4.964, allocations: 3.938 kB / 3.473 GB, free: 61.26 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/4.964, allocations: 0 / 3.473 GB, free: 61.26 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/4.964, allocations: 44 kB / 3.473 GB, free: 61.21 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008248/4.972, allocations: 6.068 MB / 3.479 GB, free: 54.97 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/4.974, allocations: 1.818 MB / 3.481 GB, free: 53.07 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007401/4.975, allocations: 0.6674 MB / 3.482 GB, free: 52.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006268/4.976, allocations: 0.7442 MB / 3.482 GB, free: 51.51 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/4.977, allocations: 0.862 MB / 3.483 GB, free: 50.63 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 2.986e-06/4.977, allocations: 3.938 kB / 3.483 GB, free: 50.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003487/4.98, allocations: 1.601 MB / 3.485 GB, free: 49 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/4.98, allocations: 248.6 kB / 3.485 GB, free: 48.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/4.983, allocations: 2.372 MB / 3.487 GB, free: 46.32 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/4.983, allocations: 37.7 kB / 3.487 GB, free: 46.28 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/4.983, allocations: 0.5809 MB / 3.488 GB, free: 45.68 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/4.983, allocations: 441.2 kB / 3.488 GB, free: 45.25 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/4.983, allocations: 0 / 3.488 GB, free: 45.25 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.451e-05/4.984, allocations: 345.9 kB / 3.489 GB, free: 44.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006328/4.984, allocations: 490.4 kB / 3.489 GB, free: 44.42 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007385/4.985, allocations: 0.6904 MB / 3.49 GB, free: 43.66 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008157/4.986, allocations: 0.5697 MB / 3.49 GB, free: 43.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/4.986, allocations: 7.938 kB / 3.49 GB, free: 43.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002774/4.989, allocations: 1.535 MB / 3.492 GB, free: 41.53 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/4.989, allocations: 4 kB / 3.492 GB, free: 41.53 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/4.989, allocations: 4 kB / 3.492 GB, free: 41.52 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009993/4.99, allocations: 208.1 kB / 3.492 GB, free: 41.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/4.991, allocations: 311.6 kB / 3.492 GB, free: 41 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00408/4.995, allocations: 6.502 MB / 3.499 GB, free: 33.91 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/4.997, allocations: 131.2 kB / 3.499 GB, free: 33.78 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/4.997, allocations: 67.97 kB / 3.499 GB, free: 33.71 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.0002502/4.997, allocations: 132.7 kB / 3.499 GB, free: 33.58 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/4.997, allocations: 178 kB / 3.499 GB, free: 33.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003909/5.001, allocations: 2.02 MB / 3.501 GB, free: 31.35 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/5.001, allocations: 16 kB / 3.501 GB, free: 31.34 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/5.001, allocations: 7.922 kB / 3.501 GB, free: 31.33 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/5.001, allocations: 3.984 kB / 3.501 GB, free: 31.32 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005609/5.007, allocations: 3.88 MB / 3.505 GB, free: 27.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/5.007, allocations: 7.938 kB / 3.505 GB, free: 27.38 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/5.008, allocations: 327.6 kB / 3.505 GB, free: 27.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008639/5.009, allocations: 208.1 kB / 3.505 GB, free: 26.84 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/5.009, allocations: 23.97 kB / 3.505 GB, free: 26.81 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003944/5.013, allocations: 6.525 MB / 3.512 GB, free: 19.71 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/5.013, allocations: 0 / 3.512 GB, free: 19.71 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00286/5.016, allocations: 1.722 MB / 3.514 GB, free: 17.95 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002976/5.019, allocations: 2.207 MB / 3.516 GB, free: 15.71 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/5.02, allocations: 0.6584 MB / 3.516 GB, free: 15.03 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003472/5.021, allocations: 3.906 kB / 3.516 GB, free: 15.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/5.022, allocations: 119.7 kB / 3.516 GB, free: 14.91 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/5.022, allocations: 89.12 kB / 3.517 GB, free: 14.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/5.022, allocations: 83.94 kB / 3.517 GB, free: 14.73 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001948/5.024, allocations: 1.832 MB / 3.518 GB, free: 12.91 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002827/5.027, allocations: 0.9239 MB / 3.519 GB, free: 11.98 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.002226/5.029, allocations: 1.733 MB / 3.521 GB, free: 10.34 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002126/5.031, allocations: 1.706 MB / 3.523 GB, free: 8.582 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/5.031, allocations: 4.656 kB / 3.523 GB, free: 8.578 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/5.033, allocations: 1.212 MB / 3.524 GB, free: 7.316 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/5.034, allocations: 412.3 kB / 3.524 GB, free: 6.918 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006525/5.041, allocations: 3.013 MB / 3.527 GB, free: 3.855 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001891/5.043, allocations: 1.883 MB / 3.529 GB, free: 1.941 MB / 1.151 GB Notification: Performance of SimCode: time 1.944e-06/5.043, allocations: 0 / 3.529 GB, free: 1.941 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat does not exist to compare? outputFormat=mat