Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.368/1.368, allocations: 289.8 MB / 297.1 MB, free: 6.441 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.001069/0.001069, allocations: 185.2 kB / 366.3 MB, free: 1.703 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.099/1.099, allocations: 205.2 MB / 0.6256 GB, free: 5.629 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.0007853/0.0007853, allocations: 86.25 kB / 0.7395 GB, free: 39.4 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1875/0.1883, allocations: 122.4 MB / 0.8591 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.6225, allocations: 116.3 MB / 0.9727 GB, free: 68.96 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.7799, allocations: 160.2 MB / 1.129 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.7802, allocations: 92.56 kB / 1.129 GB, free: 3.844 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.0814/0.8616, allocations: 37.04 MB / 1.165 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.8616, allocations: 8 kB / 1.165 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.8633, allocations: 242.6 kB / 1.166 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008419/0.8641, allocations: 0.5316 MB / 1.166 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.8641, allocations: 27.91 kB / 1.166 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.86e-05/0.8642, allocations: 36 kB / 1.166 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009585/0.8652, allocations: 0.617 MB / 1.167 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.8665, allocations: 1.041 MB / 1.168 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.8666, allocations: 7.938 kB / 1.168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.819e-05/0.8667, allocations: 4 kB / 1.168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.033e-05/0.8667, allocations: 61.28 kB / 1.168 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00511/0.8718, allocations: 5.782 MB / 1.174 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008002/0.8727, allocations: 0.5234 MB / 1.174 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.8731, allocations: 328.7 kB / 1.174 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.8731, allocations: 4.438 kB / 1.174 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.8731, allocations: 46.84 kB / 1.174 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 1.693e-06/0.8731, allocations: 3.938 kB / 1.174 GB, free: 4.465 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.001935/0.8751, allocations: 1.181 MB / 1.176 GB, free: 3.266 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.8751, allocations: 55.84 kB / 1.176 GB, free: 3.199 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.8755, allocations: 394.1 kB / 1.176 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.8756, allocations: 25.7 kB / 1.176 GB, free: 2.773 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.8757, allocations: 350.8 kB / 1.176 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.8759, allocations: 165.6 kB / 1.177 GB, free: 2.262 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.8759, allocations: 0 / 1.177 GB, free: 2.262 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.876, allocations: 370.7 kB / 1.177 GB, free: 1.891 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.8764, allocations: 261.2 kB / 1.177 GB, free: 1.633 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.8768, allocations: 445.5 kB / 1.178 GB, free: 1.121 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.8772, allocations: 333.2 kB / 1.178 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.8773, allocations: 7.938 kB / 1.178 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001545/0.8788, allocations: 0.9828 MB / 1.179 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.8788, allocations: 4 kB / 1.179 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.8788, allocations: 4 kB / 1.179 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008019/0.8797, allocations: 268.7 kB / 1.179 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.8801, allocations: 115.8 kB / 1.179 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005334/0.8855, allocations: 6.21 MB / 1.185 GB, free: 8.715 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.886, allocations: 15.98 kB / 1.185 GB, free: 8.699 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.8861, allocations: 28.06 kB / 1.185 GB, free: 8.672 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.8862, allocations: 128.6 kB / 1.185 GB, free: 8.539 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.8863, allocations: 63.25 kB / 1.186 GB, free: 8.477 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.8877, allocations: 0.848 MB / 1.186 GB, free: 7.605 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.8877, allocations: 4 kB / 1.186 GB, free: 7.602 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.8877, allocations: 4 kB / 1.186 GB, free: 7.598 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.8877, allocations: 3.906 kB / 1.186 GB, free: 7.594 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.8901, allocations: 1.597 MB / 1.188 GB, free: 5.922 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.8901, allocations: 0 / 1.188 GB, free: 5.922 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.8903, allocations: 55.95 kB / 1.188 GB, free: 5.867 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007195/0.8911, allocations: 272 kB / 1.188 GB, free: 5.59 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.8911, allocations: 3.984 kB / 1.188 GB, free: 5.586 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005222/0.8963, allocations: 6.183 MB / 1.194 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.8963, allocations: 15.91 kB / 1.194 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001467/0.8978, allocations: 1.009 MB / 1.195 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001579/0.8994, allocations: 1.41 MB / 1.197 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.8997, allocations: 188.3 kB / 1.197 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.8999, allocations: 0 / 1.197 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.9002, allocations: 19.91 kB / 1.197 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.9003, allocations: 27.92 kB / 1.197 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.445e-05/0.9003, allocations: 19.94 kB / 1.197 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002954/0.9006, allocations: 299 kB / 1.197 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00136/0.902, allocations: 199.9 kB / 1.197 GB, free: 11.59 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001761/0.9022, allocations: 111.9 kB / 1.197 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.9038, allocations: 1.145 MB / 1.199 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9038, allocations: 0 / 1.199 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.9049, allocations: 0.796 MB / 1.199 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007681/0.9056, allocations: 157.8 kB / 1.2 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.9075, allocations: 0.9902 MB / 1.2 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006958/0.9082, allocations: 1.051 MB / 1.202 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.9082, allocations: 0 / 1.202 GB, free: 7.191 MB / 0.8073 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)