Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.165/2.165, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.00162/0.00162, allocations: 177.2 kB / 360.3 MB, free: 7.527 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.639/1.639, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001206/0.001206, allocations: 87.22 kB / 0.7317 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2469/0.2482, allocations: 121.4 MB / 0.8502 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5618/0.81, allocations: 115.2 MB / 0.9628 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2457/1.056, allocations: 167.3 MB / 1.126 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/1.056, allocations: 96.69 kB / 1.126 GB, free: 5.375 MB / 0.7292 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.07741/1.134, allocations: 19.36 MB / 1.145 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.134, allocations: 8.5 kB / 1.145 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/1.135, allocations: 107.5 kB / 1.145 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000729/1.136, allocations: 287.7 kB / 1.146 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/1.136, allocations: 8 kB / 1.146 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/1.136, allocations: 16 kB / 1.146 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007623/1.137, allocations: 265.1 kB / 1.146 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009334/1.138, allocations: 402.4 kB / 1.146 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/1.138, allocations: 0 / 1.146 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/1.138, allocations: 0 / 1.146 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.887e-05/1.138, allocations: 32.48 kB / 1.146 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/1.142, allocations: 2.167 MB / 1.148 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/1.143, allocations: 238.8 kB / 1.149 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/1.143, allocations: 157.2 kB / 1.149 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/1.143, allocations: 4.188 kB / 1.149 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/1.143, allocations: 38.69 kB / 1.149 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 3.166e-06/1.143, allocations: 0 / 1.149 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.00217/1.145, allocations: 0.8003 MB / 1.15 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/1.146, allocations: 51.41 kB / 1.15 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/1.146, allocations: 202 kB / 1.15 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/1.146, allocations: 25.7 kB / 1.15 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/1.146, allocations: 175.9 kB / 1.15 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/1.146, allocations: 86.75 kB / 1.15 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/1.146, allocations: 3.938 kB / 1.15 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.146, allocations: 332 kB / 1.15 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/1.147, allocations: 147.9 kB / 1.151 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/1.147, allocations: 225.3 kB / 1.151 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006257/1.148, allocations: 186.7 kB / 1.151 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.148, allocations: 3.938 kB / 1.151 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001921/1.15, allocations: 0.5524 MB / 1.151 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.15, allocations: 5.094 kB / 1.151 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/1.15, allocations: 4 kB / 1.151 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/1.151, allocations: 196.3 kB / 1.152 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/1.152, allocations: 55.91 kB / 1.152 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004435/1.156, allocations: 2.144 MB / 1.154 GB, free: 8.539 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/1.157, allocations: 7.906 kB / 1.154 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/1.157, allocations: 21.48 kB / 1.154 GB, free: 8.512 MB / 0.7605 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.0001568/1.157, allocations: 116.7 kB / 1.154 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/1.157, allocations: 23.72 kB / 1.154 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009361/1.158, allocations: 343.1 kB / 1.154 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/1.158, allocations: 0 / 1.154 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/1.158, allocations: 0 / 1.154 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/1.158, allocations: 4 kB / 1.154 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/1.16, allocations: 0.7582 MB / 1.155 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.16, allocations: 0 / 1.155 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007995/1.161, allocations: 71.88 kB / 1.155 GB, free: 7.148 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/1.161, allocations: 4 kB / 1.155 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/1.161, allocations: 1.625 kB / 1.155 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/1.161, allocations: 4 kB / 1.155 GB, free: 7.141 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.161, allocations: 3.906 kB / 1.155 GB, free: 7.137 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001289/1.162, allocations: 0.6326 MB / 1.156 GB, free: 6.473 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001913/1.164, allocations: 1.207 MB / 1.157 GB, free: 5.23 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/1.164, allocations: 126.6 kB / 1.157 GB, free: 5.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.722e-05/1.164, allocations: 7.984 kB / 1.157 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/1.165, allocations: 4 kB / 1.157 GB, free: 5.078 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/1.165, allocations: 11.89 kB / 1.157 GB, free: 5.066 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/1.165, allocations: 12 kB / 1.157 GB, free: 5.055 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.000233/1.165, allocations: 160 kB / 1.157 GB, free: 4.898 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001449/1.167, allocations: 88 kB / 1.157 GB, free: 4.812 MB / 0.7605 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.0002199/1.167, allocations: 119.2 kB / 1.157 GB, free: 4.688 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001329/1.168, allocations: 485.7 kB / 1.158 GB, free: 4.203 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.168, allocations: 0.625 kB / 1.158 GB, free: 4.203 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003468/1.169, allocations: 155.8 kB / 1.158 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/1.169, allocations: 39.75 kB / 1.158 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/1.171, allocations: 0.7032 MB / 1.159 GB, free: 3.293 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000704/1.172, allocations: 0.8351 MB / 1.16 GB, free: 2.434 MB / 0.7605 GB Notification: Performance of SimCode: time 1.402e-06/1.172, allocations: 0 / 1.16 GB, free: 2.434 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)