Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) 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) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized",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/Complex 3.2.3+maint.om/package.mo): time 0.002623/0.002623, allocations: 190.9 kB / 7.846 MB, free: 2.48 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.893/1.893, allocations: 205.2 MB / 213.5 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001888/0.001888, allocations: 95.69 kB / 261.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1032/0.1032, allocations: 12.59 MB / 322 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2488/0.3521, allocations: 56.5 MB / 378.5 MB, free: 75.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.4458, allocations: 50.38 MB / 428.9 MB, free: 25.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3248/0.7707, allocations: 77.12 MB / 0.4941 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.771, allocations: 74.02 kB / 0.4942 GB, free: 12.02 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.005486/0.7765, allocations: 1.597 MB / 0.4958 GB, free: 11.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.7766, allocations: 7.688 kB / 0.4958 GB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.7766, allocations: 12.12 kB / 0.4958 GB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.7769, allocations: 199.7 kB / 0.496 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.7769, allocations: 3.875 kB / 0.496 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.777, allocations: 3.844 kB / 0.496 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001451/0.7771, allocations: 34.67 kB / 0.496 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/0.7775, allocations: 198.2 kB / 0.4962 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.7776, allocations: 0 / 0.4962 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.7776, allocations: 0 / 0.4962 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.7776, allocations: 3.906 kB / 0.4962 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.7778, allocations: 158.5 kB / 0.4964 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.778, allocations: 118.6 kB / 0.4965 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.7782, allocations: 69.42 kB / 0.4965 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.7782, allocations: 3.656 kB / 0.4965 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.7783, allocations: 33.88 kB / 0.4966 GB, free: 11.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.7783, allocations: 0 / 0.4966 GB, free: 11.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002657/0.7785, allocations: 116.1 kB / 0.4967 GB, free: 11.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.7786, allocations: 60.77 kB / 0.4967 GB, free: 10.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.7787, allocations: 121.7 kB / 0.4969 GB, free: 10.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.7787, allocations: 25.7 kB / 0.4969 GB, free: 10.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.371e-05/0.7788, allocations: 85.2 kB / 0.497 GB, free: 10.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.7788, allocations: 13.12 kB / 0.497 GB, free: 10.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.7788, allocations: 0 / 0.497 GB, free: 10.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.7789, allocations: 320.8 kB / 0.4973 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.255e-05/0.779, allocations: 26.89 kB / 0.4973 GB, free: 10.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.066e-05/0.7791, allocations: 117 kB / 0.4974 GB, free: 10.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.729e-05/0.7791, allocations: 39.52 kB / 0.4975 GB, free: 10.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.7792, allocations: 3.844 kB / 0.4975 GB, free: 10.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002401/0.7794, allocations: 123.9 kB / 0.4976 GB, free: 10.22 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7794, allocations: 12.34 kB / 0.4976 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.7795, allocations: 3.812 kB / 0.4976 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.7795, allocations: 3.875 kB / 0.4976 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.42e-05/0.7795, allocations: 12.92 kB / 0.4976 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.7795, allocations: 9.078 kB / 0.4976 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.57e-05/0.7796, allocations: 3.844 kB / 0.4976 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.7797, allocations: 7.688 kB / 0.4976 GB, free: 10.21 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 prepare postOptimizeDAE: time 8.713e-05/0.7798, allocations: 120.9 kB / 0.4977 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.78, allocations: 103.9 kB / 0.4978 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.978e-05/0.78, allocations: 16.64 kB / 0.4979 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.78, allocations: 3.969 kB / 0.4979 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7801, allocations: 0.8438 kB / 0.4979 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.7801, allocations: 0.5625 kB / 0.4979 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.7802, allocations: 154.4 kB / 0.498 GB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7802, allocations: 0 / 0.498 GB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.7802, allocations: 9.141 kB / 0.498 GB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.7802, allocations: 0 / 0.498 GB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.7803, allocations: 0 / 0.498 GB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.7803, allocations: 4.562 kB / 0.498 GB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7803, allocations: 3.844 kB / 0.498 GB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002206/0.7805, allocations: 140.9 kB / 0.4982 GB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002717/0.7808, allocations: 0.5142 MB / 0.4987 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-05/0.7809, allocations: 97.03 kB / 0.4988 GB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.781, allocations: 4.656 kB / 0.4988 GB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.693e-05/0.781, allocations: 0 / 0.4988 GB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-06/0.781, allocations: 0 / 0.4988 GB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.781, allocations: 4.484 kB / 0.4988 GB, free: 9.254 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.018e-05/0.7811, allocations: 105 kB / 0.4989 GB, free: 9.176 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001107/0.7822, allocations: 11.59 kB / 0.4989 GB, free: 9.176 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001145/0.7824, allocations: 105 kB / 0.499 GB, free: 9.082 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.7826, allocations: 80.67 kB / 0.499 GB, free: 9.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.7826, allocations: 3.938 kB / 0.4991 GB, free: 9.066 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.7826, allocations: 3.938 kB / 0.4991 GB, free: 9.062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.783, allocations: 76.69 kB / 0.4991 GB, free: 9.051 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.7835, allocations: 160.1 kB / 0.4993 GB, free: 8.961 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.7837, allocations: 0.7355 MB / 0.5 GB, free: 8.25 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.7837, allocations: 0 / 0.5 GB, free: 8.25 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1)