Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.557/1.557, allocations: 289.8 MB / 297.1 MB, free: 6.633 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 185.2 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.1 MB / 0.6256 GB, free: 5.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009735/0.0009732, allocations: 87.72 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2927/0.2937, allocations: 122.4 MB / 0.8591 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.766/1.06, allocations: 116.3 MB / 0.9727 GB, free: 68.51 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2079/1.268, allocations: 144.9 MB / 1.114 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/1.268, allocations: 87.94 kB / 1.114 GB, free: 3.527 MB / 0.7136 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.03229/1.3, allocations: 10.53 MB / 1.124 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/1.3, allocations: 12 kB / 1.125 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/1.301, allocations: 59.91 kB / 1.125 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/1.301, allocations: 347.7 kB / 1.125 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/1.301, allocations: 15.91 kB / 1.125 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/1.301, allocations: 28 kB / 1.125 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005623/1.302, allocations: 286 kB / 1.125 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/1.302, allocations: 308.6 kB / 1.126 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/1.302, allocations: 0.5625 kB / 1.126 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/1.302, allocations: 0 / 1.126 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/1.302, allocations: 16 kB / 1.126 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/1.305, allocations: 1.209 MB / 1.127 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006253/1.305, allocations: 343.9 kB / 1.127 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/1.306, allocations: 212.8 kB / 1.127 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-05/1.306, allocations: 13.58 kB / 1.127 GB, free: 6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/1.306, allocations: 34.56 kB / 1.127 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 1.833e-06/1.306, allocations: 0 / 1.127 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.002028/1.308, allocations: 0.6383 MB / 1.128 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/1.308, allocations: 63.3 kB / 1.128 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/1.308, allocations: 231.5 kB / 1.128 GB, free: 5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/1.308, allocations: 25.7 kB / 1.128 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/1.308, allocations: 188.3 kB / 1.128 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/1.309, allocations: 134 kB / 1.129 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/1.309, allocations: 0 / 1.129 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.309, allocations: 342.8 kB / 1.129 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/1.309, allocations: 116 kB / 1.129 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/1.309, allocations: 190.7 kB / 1.129 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/1.309, allocations: 135.8 kB / 1.129 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.309, allocations: 4 kB / 1.129 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001838/1.311, allocations: 0.6503 MB / 1.13 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/1.311, allocations: 101 kB / 1.13 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.311, allocations: 4.562 kB / 1.13 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/1.313, allocations: 397 kB / 1.13 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/1.313, allocations: 27.98 kB / 1.13 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/1.315, allocations: 1.149 MB / 1.132 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005059/1.316, allocations: 35.73 kB / 1.132 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/1.316, allocations: 12 kB / 1.132 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/1.316, allocations: 6.312 kB / 1.132 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00182/1.317, allocations: 0.5936 MB / 1.132 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/1.317, allocations: 0 / 1.132 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/1.319, allocations: 401 kB / 1.133 GB, free: 452 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/1.319, allocations: 27.97 kB / 1.133 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005737/1.325, allocations: 3.458 MB / 1.136 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/1.326, allocations: 39.66 kB / 1.136 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/1.326, allocations: 12 kB / 1.136 GB, free: 12.79 MB / 0.7448 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.326, allocations: 105.6 kB / 1.136 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-05/1.326, allocations: 35.62 kB / 1.136 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/1.326, allocations: 51.06 kB / 1.136 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.326, allocations: 4 kB / 1.136 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.326, allocations: 4 kB / 1.136 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.326, allocations: 0 / 1.136 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/1.327, allocations: 438.3 kB / 1.137 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.327, allocations: 0.5625 kB / 1.137 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/1.327, allocations: 31.97 kB / 1.137 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001631/1.328, allocations: 393 kB / 1.137 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/1.329, allocations: 3.938 kB / 1.137 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005639/1.334, allocations: 3.423 MB / 1.14 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/1.334, allocations: 128 / 1.14 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001881/1.336, allocations: 0.7269 MB / 1.141 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001962/1.338, allocations: 1.109 MB / 1.142 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/1.338, allocations: 140.6 kB / 1.142 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/1.338, allocations: 7.891 kB / 1.142 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/1.339, allocations: 23.92 kB / 1.142 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.537e-05/1.339, allocations: 19.97 kB / 1.142 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/1.339, allocations: 12 kB / 1.142 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0002402/1.339, allocations: 183.1 kB / 1.143 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002384/1.341, allocations: 259.2 kB / 1.143 GB, free: 5.594 MB / 0.7448 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.0001801/1.342, allocations: 99.25 kB / 1.143 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00233/1.344, allocations: 0.8389 MB / 1.144 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.344, allocations: 4 kB / 1.144 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009768/1.345, allocations: 408.2 kB / 1.144 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/1.346, allocations: 77.19 kB / 1.144 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/1.347, allocations: 0.5719 MB / 1.145 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/1.348, allocations: 0.8473 MB / 1.146 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/1.348, allocations: 0 / 1.146 GB, free: 2.672 MB / 0.7448 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)