Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.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.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",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.054/2.054, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001075/0.001075, allocations: 184 kB / 487 MB, free: 5.375 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.435/1.435, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.000967/0.0009671, allocations: 98.86 kB / 0.9213 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6319/0.6329, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.925, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8046/1.73, allocations: 155.1 MB / 1.357 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/1.73, allocations: 82.22 kB / 1.357 GB, free: 15.86 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.03129/1.761, allocations: 10.55 MB / 1.367 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/1.761, allocations: 8 kB / 1.367 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/1.762, allocations: 59.34 kB / 1.367 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/1.762, allocations: 341.2 kB / 1.368 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/1.762, allocations: 16 kB / 1.368 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/1.762, allocations: 31.89 kB / 1.368 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000516/1.763, allocations: 285 kB / 1.368 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/1.763, allocations: 311.8 kB / 1.368 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/1.763, allocations: 3.938 kB / 1.368 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/1.763, allocations: 4 kB / 1.368 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/1.763, allocations: 12 kB / 1.368 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/1.765, allocations: 1.209 MB / 1.369 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/1.766, allocations: 352.8 kB / 1.37 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/1.766, allocations: 215.5 kB / 1.37 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.364e-05/1.766, allocations: 4 kB / 1.37 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/1.766, allocations: 33.81 kB / 1.37 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=41): time 1.703e-06/1.766, allocations: 0 / 1.37 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of matching and sorting (n=41): time 0.001923/1.768, allocations: 0.6619 MB / 1.371 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/1.768, allocations: 55.41 kB / 1.371 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/1.769, allocations: 238.2 kB / 1.371 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/1.769, allocations: 25.7 kB / 1.371 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/1.769, allocations: 187.2 kB / 1.371 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.283e-05/1.769, allocations: 136 kB / 1.371 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/1.769, allocations: 0 / 1.371 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.129e-05/1.769, allocations: 345.5 kB / 1.372 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/1.769, allocations: 113.3 kB / 1.372 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/1.769, allocations: 179 kB / 1.372 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/1.77, allocations: 136.6 kB / 1.372 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/1.77, allocations: 3.906 kB / 1.372 GB, free: 5.926 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001715/1.771, allocations: 0.654 MB / 1.373 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/1.771, allocations: 96.64 kB / 1.373 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.771, allocations: 4 kB / 1.373 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/1.773, allocations: 405.2 kB / 1.373 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/1.773, allocations: 27.97 kB / 1.373 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/1.775, allocations: 1.147 MB / 1.374 GB, free: 3.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/1.775, allocations: 39.67 kB / 1.374 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/1.775, allocations: 11.81 kB / 1.374 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.705e-06/1.775, allocations: 4 kB / 1.374 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001613/1.777, allocations: 0.5844 MB / 1.375 GB, free: 3.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/1.777, allocations: 0 / 1.375 GB, free: 3.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/1.778, allocations: 396.5 kB / 1.375 GB, free: 3.168 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/1.778, allocations: 39.84 kB / 1.375 GB, free: 3.133 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005115/1.784, allocations: 3.456 MB / 1.379 GB, free: 332 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/1.784, allocations: 31.73 kB / 1.379 GB, free: 300 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/1.784, allocations: 7.5 kB / 1.379 GB, free: 296 kB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * Single equations (assignments): 11 * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0001443/1.784, allocations: 109 kB / 1.379 GB, free: 180 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/1.784, allocations: 31.62 kB / 1.379 GB, free: 148 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/1.784, allocations: 50.03 kB / 1.379 GB, free: 132 kB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/1.784, allocations: 11.84 kB / 1.379 GB, free: 120 kB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.784, allocations: 0 / 1.379 GB, free: 120 kB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/1.784, allocations: 3.984 kB / 1.379 GB, free: 116 kB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006532/1.785, allocations: 432.9 kB / 1.379 GB, free: 15.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.785, allocations: 0 / 1.379 GB, free: 15.75 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/1.785, allocations: 31.92 kB / 1.379 GB, free: 15.72 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/1.787, allocations: 392.1 kB / 1.38 GB, free: 15.39 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/1.787, allocations: 0 / 1.38 GB, free: 15.39 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005356/1.792, allocations: 3.42 MB / 1.383 GB, free: 12.64 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.792, allocations: 0 / 1.383 GB, free: 12.64 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001772/1.794, allocations: 0.7324 MB / 1.384 GB, free: 12.04 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001859/1.796, allocations: 1.11 MB / 1.385 GB, free: 11.05 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/1.796, allocations: 138.3 kB / 1.385 GB, free: 10.91 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/1.796, allocations: 3.906 kB / 1.385 GB, free: 10.91 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/1.797, allocations: 23.98 kB / 1.385 GB, free: 10.89 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/1.797, allocations: 19.84 kB / 1.385 GB, free: 10.87 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/1.797, allocations: 14.94 kB / 1.385 GB, free: 10.86 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002621/1.797, allocations: 189.9 kB / 1.385 GB, free: 10.71 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00209/1.799, allocations: 255.2 kB / 1.385 GB, free: 10.46 MB / 0.823 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 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001909/1.799, allocations: 115.1 kB / 1.386 GB, free: 10.34 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002208/1.801, allocations: 0.8234 MB / 1.386 GB, free: 9.691 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.801, allocations: 4 kB / 1.386 GB, free: 9.688 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009218/1.802, allocations: 401.1 kB / 1.387 GB, free: 9.359 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/1.803, allocations: 80.5 kB / 1.387 GB, free: 9.301 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/1.805, allocations: 0.5729 MB / 1.387 GB, free: 8.766 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/1.805, allocations: 0.8513 MB / 1.388 GB, free: 7.883 MB / 0.823 GB Notification: Performance of SimCode: time 3.2e-07/1.805, allocations: 0 / 1.388 GB, free: 7.883 MB / 0.823 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat does not exist to compare? outputFormat=mat