Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.252/1.252, allocations: 249.4 MB / 256.7 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001046, allocations: 177.2 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.2 MB / 0.5667 GB, free: 15.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009816/0.0009815, allocations: 90.22 kB / 0.671 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3995/0.4005, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.5776, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5436/1.121, allocations: 138.7 MB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/1.122, allocations: 82.61 kB / 1.02 GB, free: 15.9 MB / 0.6511 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.02984/1.151, allocations: 10.54 MB / 1.03 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/1.151, allocations: 8 kB / 1.03 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/1.152, allocations: 55.34 kB / 1.031 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/1.152, allocations: 351.1 kB / 1.031 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/1.152, allocations: 12 kB / 1.031 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/1.152, allocations: 28 kB / 1.031 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004763/1.153, allocations: 285.1 kB / 1.031 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/1.153, allocations: 312.1 kB / 1.031 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/1.153, allocations: 0 / 1.031 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/1.153, allocations: 0 / 1.031 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/1.153, allocations: 12 kB / 1.031 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/1.155, allocations: 1.213 MB / 1.033 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005646/1.156, allocations: 345 kB / 1.033 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/1.156, allocations: 210.7 kB / 1.033 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/1.156, allocations: 4 kB / 1.033 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/1.156, allocations: 41.19 kB / 1.033 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=41): time 1.874e-06/1.156, allocations: 0 / 1.033 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.00188/1.158, allocations: 0.6398 MB / 1.034 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/1.158, allocations: 63.19 kB / 1.034 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/1.158, allocations: 229.3 kB / 1.034 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/1.158, allocations: 33.62 kB / 1.034 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/1.159, allocations: 191.1 kB / 1.034 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.723e-05/1.159, allocations: 137.7 kB / 1.034 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/1.159, allocations: 0 / 1.034 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.159, allocations: 340.3 kB / 1.035 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/1.159, allocations: 116.5 kB / 1.035 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/1.159, allocations: 189.2 kB / 1.035 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/1.16, allocations: 133.4 kB / 1.035 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.16, allocations: 0 / 1.035 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001827/1.161, allocations: 0.65 MB / 1.036 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.177e-05/1.161, allocations: 97.25 kB / 1.036 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.161, allocations: 4 kB / 1.036 GB, free: 2.234 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/1.163, allocations: 407.4 kB / 1.036 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/1.163, allocations: 35.86 kB / 1.036 GB, free: 1.863 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/1.165, allocations: 1.138 MB / 1.037 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/1.165, allocations: 27.73 kB / 1.038 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/1.165, allocations: 10.88 kB / 1.038 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.176e-06/1.165, allocations: 8 kB / 1.038 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001628/1.167, allocations: 0.5891 MB / 1.038 GB, free: 436 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/1.167, allocations: 0 / 1.038 GB, free: 436 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/1.169, allocations: 408.1 kB / 1.038 GB, free: 84 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/1.169, allocations: 30.98 kB / 1.039 GB, free: 56 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005284/1.174, allocations: 3.461 MB / 1.042 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/1.174, allocations: 27.73 kB / 1.042 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/1.174, allocations: 14.88 kB / 1.042 GB, free: 13.2 MB / 0.6667 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.0001364/1.175, allocations: 108.7 kB / 1.042 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.597e-05/1.175, allocations: 35.53 kB / 1.042 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.31e-05/1.175, allocations: 53.78 kB / 1.042 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.175, allocations: 4 kB / 1.042 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/1.175, allocations: 0 / 1.042 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.175, allocations: 3.984 kB / 1.042 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/1.175, allocations: 434.6 kB / 1.043 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/1.175, allocations: 0 / 1.043 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/1.176, allocations: 27.48 kB / 1.043 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/1.177, allocations: 396.3 kB / 1.043 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/1.177, allocations: 128 / 1.043 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00492/1.182, allocations: 3.426 MB / 1.046 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.182, allocations: 0 / 1.046 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001642/1.184, allocations: 0.7359 MB / 1.047 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001779/1.185, allocations: 1.112 MB / 1.048 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/1.186, allocations: 137.8 kB / 1.048 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/1.186, allocations: 3.984 kB / 1.048 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/1.186, allocations: 19.84 kB / 1.048 GB, free: 7.754 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/1.186, allocations: 23.33 kB / 1.048 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/1.186, allocations: 11.5 kB / 1.048 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000175/1.186, allocations: 189.8 kB / 1.048 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001903/1.188, allocations: 251.3 kB / 1.049 GB, free: 7.332 MB / 0.6667 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.0001663/1.188, allocations: 99.25 kB / 1.049 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002098/1.19, allocations: 0.8301 MB / 1.05 GB, free: 6.574 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.191, allocations: 0 / 1.05 GB, free: 6.574 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008193/1.191, allocations: 400.7 kB / 1.05 GB, free: 6.25 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/1.192, allocations: 80.97 kB / 1.05 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/1.193, allocations: 0.575 MB / 1.051 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004064/1.194, allocations: 0.859 MB / 1.051 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of SimCode: time 3.5e-07/1.194, allocations: 0 / 1.051 GB, free: 4.754 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)