Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.232/1.232, allocations: 249.4 MB / 256.7 MB, free: 7.035 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.0009273/0.0009274, allocations: 184.6 kB / 316 MB, free: 3.527 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.108/1.108, allocations: 205.1 MB / 0.5667 GB, free: 15.6 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.0007749/0.0007749, allocations: 80.31 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3332/0.334, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.4805, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.509/0.9895, allocations: 162.2 MB / 1.043 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.9899, allocations: 97.31 kB / 1.043 GB, free: 10.38 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0445/1.034, allocations: 19.35 MB / 1.062 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/1.034, allocations: 8 kB / 1.062 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009254/1.035, allocations: 107.5 kB / 1.062 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/1.036, allocations: 287.7 kB / 1.062 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/1.036, allocations: 8 kB / 1.062 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/1.036, allocations: 12 kB / 1.062 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004688/1.036, allocations: 266.5 kB / 1.063 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/1.037, allocations: 402 kB / 1.063 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/1.037, allocations: 7.938 kB / 1.063 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/1.037, allocations: 0 / 1.063 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.767e-05/1.037, allocations: 28.47 kB / 1.063 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/1.039, allocations: 2.157 MB / 1.065 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/1.04, allocations: 244.5 kB / 1.065 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/1.04, allocations: 156.9 kB / 1.066 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/1.04, allocations: 12.16 kB / 1.066 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/1.04, allocations: 34.06 kB / 1.066 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/1.04, allocations: 3.938 kB / 1.066 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.001208/1.041, allocations: 0.7982 MB / 1.066 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/1.041, allocations: 55.41 kB / 1.067 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/1.041, allocations: 199.7 kB / 1.067 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/1.041, allocations: 33.7 kB / 1.067 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/1.042, allocations: 169.3 kB / 1.067 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/1.042, allocations: 86.06 kB / 1.067 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/1.042, allocations: 0 / 1.067 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.042, allocations: 331.6 kB / 1.067 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/1.042, allocations: 141.3 kB / 1.067 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/1.042, allocations: 227.3 kB / 1.068 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/1.043, allocations: 193 kB / 1.068 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.043, allocations: 0 / 1.068 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009924/1.044, allocations: 0.5539 MB / 1.068 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/1.044, allocations: 8.062 kB / 1.068 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.044, allocations: 4 kB / 1.068 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/1.044, allocations: 181.2 kB / 1.069 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/1.045, allocations: 63.7 kB / 1.069 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/1.047, allocations: 2.138 MB / 1.071 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/1.047, allocations: 11.98 kB / 1.071 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/1.047, allocations: 11.81 kB / 1.071 GB, free: 2.219 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001157/1.047, allocations: 112.9 kB / 1.071 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/1.047, allocations: 23.72 kB / 1.071 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/1.048, allocations: 345.9 kB / 1.071 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/1.048, allocations: 7.906 kB / 1.071 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-06/1.048, allocations: 0 / 1.071 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/1.048, allocations: 3.984 kB / 1.071 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009413/1.049, allocations: 0.7545 MB / 1.072 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.049, allocations: 4 kB / 1.072 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/1.049, allocations: 70.77 kB / 1.072 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.049, allocations: 0 / 1.072 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/1.049, allocations: 12.05 kB / 1.072 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.049, allocations: 0 / 1.072 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.049, allocations: 4 kB / 1.072 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006449/1.05, allocations: 0.6215 MB / 1.073 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009349/1.051, allocations: 1.211 MB / 1.074 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/1.051, allocations: 131.3 kB / 1.074 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/1.051, allocations: 7.938 kB / 1.074 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/1.051, allocations: 8 kB / 1.074 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/1.051, allocations: 15.72 kB / 1.074 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/1.051, allocations: 4.188 kB / 1.074 GB, free: 15.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.000118/1.052, allocations: 159.6 kB / 1.074 GB, free: 15.24 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009501/1.053, allocations: 86.56 kB / 1.074 GB, free: 15.16 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002022/1.053, allocations: 119.1 kB / 1.074 GB, free: 15.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007549/1.054, allocations: 493.4 kB / 1.075 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.054, allocations: 0 / 1.075 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/1.054, allocations: 146.5 kB / 1.075 GB, free: 14.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/1.054, allocations: 48.92 kB / 1.075 GB, free: 14.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/1.055, allocations: 0.6902 MB / 1.076 GB, free: 13.85 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004374/1.056, allocations: 0.8451 MB / 1.076 GB, free: 12.99 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/1.056, allocations: 0 / 1.076 GB, free: 12.99 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)