Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.831/1.831, allocations: 390.4 MB / 397.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 177.2 kB / 490.8 MB, free: 1.949 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.141/1.141, allocations: 221.4 MB / 0.7863 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008477/0.0008477, allocations: 101.9 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4058/0.4067, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.5841, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4991/1.083, allocations: 165.3 MB / 1.373 GB, free: 17.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/1.083, allocations: 88.72 kB / 1.373 GB, free: 17.14 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.06594/1.149, allocations: 32.63 MB / 1.405 GB, free: 20.53 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/1.149, allocations: 8 kB / 1.405 GB, free: 20.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/1.151, allocations: 206.5 kB / 1.405 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/1.151, allocations: 483.8 kB / 1.406 GB, free: 19.87 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/1.151, allocations: 19.94 kB / 1.406 GB, free: 19.85 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.397e-05/1.151, allocations: 31.98 kB / 1.406 GB, free: 19.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005469/1.152, allocations: 433 kB / 1.406 GB, free: 19.53 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/1.153, allocations: 0.8602 MB / 1.407 GB, free: 18.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/1.153, allocations: 7.938 kB / 1.407 GB, free: 18.63 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/1.153, allocations: 4 kB / 1.407 GB, free: 18.63 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/1.153, allocations: 55.98 kB / 1.407 GB, free: 18.58 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003185/1.156, allocations: 5.561 MB / 1.413 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/1.156, allocations: 422.1 kB / 1.413 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/1.157, allocations: 229.4 kB / 1.413 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/1.157, allocations: 7.984 kB / 1.413 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/1.157, allocations: 33.81 kB / 1.413 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/1.157, allocations: 0 / 1.413 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001344/1.158, allocations: 0.8207 MB / 1.414 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/1.158, allocations: 55.41 kB / 1.414 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/1.158, allocations: 357.8 kB / 1.414 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/1.158, allocations: 25.7 kB / 1.414 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/1.158, allocations: 292.3 kB / 1.415 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.067e-05/1.159, allocations: 117.7 kB / 1.415 GB, free: 11.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/1.159, allocations: 0 / 1.415 GB, free: 11.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001002/1.159, allocations: 359.5 kB / 1.415 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/1.159, allocations: 177.4 kB / 1.415 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/1.159, allocations: 400 kB / 1.416 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/1.159, allocations: 248.1 kB / 1.416 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.159, allocations: 4 kB / 1.416 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001031/1.161, allocations: 0.7052 MB / 1.417 GB, free: 9.465 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/1.161, allocations: 4 kB / 1.417 GB, free: 9.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.161, allocations: 8 kB / 1.417 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004468/1.161, allocations: 154.9 kB / 1.417 GB, free: 9.309 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/1.161, allocations: 107.6 kB / 1.417 GB, free: 9.207 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/1.164, allocations: 3.871 MB / 1.421 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/1.164, allocations: 15.98 kB / 1.421 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/1.164, allocations: 23.72 kB / 1.421 GB, free: 5.102 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.164, allocations: 124.8 kB / 1.421 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.542e-05/1.165, allocations: 54.59 kB / 1.421 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008664/1.165, allocations: 0.5767 MB / 1.421 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/1.165, allocations: 4 kB / 1.421 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.165, allocations: 0 / 1.421 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.165, allocations: 7.922 kB / 1.421 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/1.167, allocations: 1.183 MB / 1.423 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.167, allocations: 4 kB / 1.423 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/1.167, allocations: 51.89 kB / 1.423 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004086/1.168, allocations: 148.7 kB / 1.423 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/1.168, allocations: 0 / 1.423 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/1.17, allocations: 3.852 MB / 1.427 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.17, allocations: 0 / 1.427 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008808/1.171, allocations: 0.7719 MB / 1.427 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009701/1.172, allocations: 1.168 MB / 1.428 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/1.172, allocations: 161 kB / 1.429 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/1.172, allocations: 7.984 kB / 1.429 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/1.172, allocations: 7.984 kB / 1.429 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/1.172, allocations: 23.11 kB / 1.429 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/1.172, allocations: 11.44 kB / 1.429 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0002023/1.173, allocations: 257.8 kB / 1.429 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001115/1.174, allocations: 128 kB / 1.429 GB, free: 12.78 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * 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): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001303/1.174, allocations: 107.2 kB / 1.429 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001042/1.175, allocations: 0.9607 MB / 1.43 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.175, allocations: 4 kB / 1.43 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006918/1.176, allocations: 0.694 MB / 1.431 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007083/1.176, allocations: 153.2 kB / 1.431 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/1.177, allocations: 0.7629 MB / 1.432 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/1.178, allocations: 0.9497 MB / 1.433 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of SimCode: time 3.1e-07/1.178, allocations: 7.938 kB / 1.433 GB, free: 9.234 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat does not exist to compare? outputFormat=mat