Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.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.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",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 1.997/1.997, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 185 kB / 490.8 MB, free: 11.22 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.439/1.439, allocations: 221.4 MB / 0.7863 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 101.4 kB / 0.9264 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.335/0.3362, allocations: 149.1 MB / 1.072 GB, free: 15.46 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8499/1.186, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.808/4.994, allocations: 1.737 GB / 2.949 GB, free: 343.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/4.994, allocations: 79.95 kB / 2.949 GB, free: 343.3 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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.1789/5.173, allocations: 79.5 MB / 3.027 GB, free: 263.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/5.173, allocations: 8 kB / 3.027 GB, free: 263.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008663/5.182, allocations: 1.528 MB / 3.028 GB, free: 262.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/5.184, allocations: 0.896 MB / 3.029 GB, free: 261.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.896e-05/5.184, allocations: 36 kB / 3.029 GB, free: 261.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004267/5.185, allocations: 68 kB / 3.029 GB, free: 261.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00362/5.188, allocations: 2.093 MB / 3.031 GB, free: 259.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/5.191, allocations: 1.54 MB / 3.033 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/5.191, allocations: 0 / 3.033 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/5.191, allocations: 8 kB / 3.033 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/5.191, allocations: 28 kB / 3.033 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009092/5.2, allocations: 4.75 MB / 3.037 GB, free: 252.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/5.203, allocations: 1.941 MB / 3.039 GB, free: 250.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009581/5.204, allocations: 0.7691 MB / 3.04 GB, free: 250 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004044/5.205, allocations: 0.6022 MB / 3.041 GB, free: 249.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/5.206, allocations: 1.006 MB / 3.042 GB, free: 248.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=121): time 3.316e-06/5.206, allocations: 0 / 3.042 GB, free: 248.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=121): time 0.00334/5.209, allocations: 1.682 MB / 3.043 GB, free: 246.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/5.209, allocations: 250 kB / 3.044 GB, free: 246.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000698/5.21, allocations: 0.5934 MB / 3.044 GB, free: 245.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/5.21, allocations: 25.7 kB / 3.044 GB, free: 245.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/5.21, allocations: 380.4 kB / 3.044 GB, free: 245.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/5.211, allocations: 386.1 kB / 3.045 GB, free: 244.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/5.211, allocations: 0 / 3.045 GB, free: 244.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001008/5.211, allocations: 398.7 kB / 3.045 GB, free: 244.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009103/5.212, allocations: 0.682 MB / 3.046 GB, free: 243.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/5.213, allocations: 0.8217 MB / 3.047 GB, free: 242.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/5.214, allocations: 0.7112 MB / 3.047 GB, free: 242.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/5.214, allocations: 0 / 3.047 GB, free: 242.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003119/5.217, allocations: 1.706 MB / 3.049 GB, free: 240.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/5.217, allocations: 4 kB / 3.049 GB, free: 240.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/5.217, allocations: 0 / 3.049 GB, free: 240.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/5.218, allocations: 84.84 kB / 3.049 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/5.22, allocations: 499.3 kB / 3.05 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/5.222, allocations: 1.462 MB / 3.051 GB, free: 238.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/5.224, allocations: 327 kB / 3.051 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/5.224, allocations: 61.72 kB / 3.051 GB, free: 238 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (126): * Single equations (assignments): 125 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003062/5.225, allocations: 128.7 kB / 3.052 GB, free: 237.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/5.225, allocations: 98.78 kB / 3.052 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004459/5.229, allocations: 2.172 MB / 3.054 GB, free: 235.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/5.229, allocations: 12 kB / 3.054 GB, free: 235.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/5.229, allocations: 0 / 3.054 GB, free: 235.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/5.229, allocations: 11.97 kB / 3.054 GB, free: 235.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005558/5.235, allocations: 3.843 MB / 3.058 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/5.235, allocations: 0 / 3.058 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002484/5.237, allocations: 496.9 kB / 3.058 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005243/5.238, allocations: 88.78 kB / 3.058 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/5.238, allocations: 35.94 kB / 3.058 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/5.24, allocations: 1.494 MB / 3.06 GB, free: 229.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/5.24, allocations: 3.906 kB / 3.06 GB, free: 229.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003101/5.243, allocations: 1.881 MB / 3.061 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003218/5.246, allocations: 2.303 MB / 3.064 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006585/5.247, allocations: 451.3 kB / 3.064 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002455/5.247, allocations: 4.625 kB / 3.064 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/5.249, allocations: 299.7 kB / 3.064 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/5.249, allocations: 82.22 kB / 3.064 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/5.249, allocations: 55.94 kB / 3.065 GB, free: 224.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000545/5.25, allocations: 491.1 kB / 3.065 GB, free: 223.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002188/5.252, allocations: 0.5652 MB / 3.066 GB, free: 223.3 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 (135): * Single equations (assignments): 132 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001699/5.254, allocations: 1.076 MB / 3.067 GB, free: 222.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002501/5.256, allocations: 1.736 MB / 3.068 GB, free: 220.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/5.256, allocations: 0.5625 kB / 3.068 GB, free: 220.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/5.258, allocations: 1.018 MB / 3.069 GB, free: 219.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/5.259, allocations: 227.7 kB / 3.07 GB, free: 219.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004953/5.264, allocations: 2.269 MB / 3.072 GB, free: 217.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/5.265, allocations: 1.377 MB / 3.073 GB, free: 215.7 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/5.265, allocations: 0 / 3.073 GB, free: 215.7 MB / 1.151 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat does not exist to compare? outputFormat=mat